WP Travel 12.1.0 has 174 actions and 519 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when WP Travel fires an action
add_action( 'wp_travel_action_before_book_now', function() {
// Your code runs here.
}, 10, 1 );
// Change a value WP Travel is about to use
add_filter( 'wp_travel_default_no_trip_type_text', function( $empty_trip_type_text ) {
// Change $empty_trip_type_text here.
return $empty_trip_type_text;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Hooks parameter array varible declear */ apply_filters( 'wp_travel_default_no_trip_type_text', $empty_trip_type_text ); -
/** * Calendar first day of week. */ apply_filters( 'wp_travel_calendar_first_day', 0 ); -
/** * Customization Starts. */ apply_filters( 'wp_travel_available_pax', $available_pax, $trip_id, $price_key ); -
/** * Filter the expiration of the session in the database */ apply_filters( 'wp_session_expiration', 24 * 60 * 60 ); -
/** * Before Booknow button on checkout page. */ do_action( 'wp_travel_action_before_book_now' ); -
/** * Hook 'wp_travel_before_single_title'. */ do_action( 'wp_travel_before_single_title', get_the_ID() ); -
/** * Calendar weekday names. */ apply_filters( 'wp_travel_calendar_day_names', array( 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', ) ); -
/** * Hook 'wp_travel_single_trip_after_title'. */ do_action( 'wp_travel_single_trip_after_title', get_the_ID() ); -
/** * Calling Single Guide Template Hook */ do_action( 'wp_travel_travel_guide_single_guide_featured_trip' ); -
/** * Hook to add content after booking list table. */ do_action( 'wptravel_dashboard_bookings_after_list' ); -
/** * Hook to add content before booking list starts. */ do_action( 'wptravel_dashboard_bookings_before_list', $args ); -
/** * Hook to filter query args of custom booking listings. */ apply_filters( 'wptravel_dashboard_bookings_query_args', $query_args ); -
/** * Fires after term meta is imported. */ do_action( 'import_term_meta', $term_id, $key, $value ); -
/** * Filters the meta key for an imported piece of term meta. */ apply_filters( 'import_term_meta_key', $meta['key'], $term_id, $term ); -
/** * Filter ID of the existing post corresponding to post currently importing. */ apply_filters( 'wp_import_existing_post', $post_exists, $post ); -
/** * Filters the metadata attached to an imported term. */ apply_filters( 'wp_import_term_meta', $term['termmeta'], $term_id, $term ); -
/** * Determine the size of each batch for deletion. */ apply_filters( 'wp_session_delete_batch_size', 1000 ); -
/** * Trigger any action before Booking Process. */ do_action( 'wp_travel_action_before_booking_process' ); -
/** * Hook used to add payment and its info. */ do_action( 'wp_travel_after_frontend_booking_save', $booking_id, $first_key ); -
/** * Hook 'wp_travel_before_single_trip_code'. */ do_action( 'wp_travel_before_single_trip_code', $trip_id ); -
/** * Hook 'wp_travel_before_single_trip_main_contents'. */ do_action( 'wp_travel_before_single_trip_main_contents', $trip_id ); -
/** * Trigger Update inventory values action. */ apply_filters( 'wp_travel_inventory_args', $args ); -
/** * Hook 'wp_travel_itinerary_v2_hero_banner_image'. */ do_action( 'wp_travel_itinerary_v2_hero_banner_image', $trip_id ); -
/** * Hook 'wp_travel_itinerary_v2_hero_section'. */ do_action( 'wp_travel_itinerary_v2_hero_section', get_the_ID() ); -
/** * Hook To modify payment email Tag */ apply_filters( 'wp_travel_payment_email_tags', $email_tags, $booking_id ); -
/** * Hooks parameter array varible declear */ apply_filters( 'wp_travel_single_archive_trip_types', '<li> <div class="travel-info"> <strong class="title">' . esc_html( $trip_type_text ) . '</strong> </div> <div class="travel-info"> <span class="value">' . ( ( $trip_types_list ) ? wp_kses( $trip_types_list, wptravel_allowed_html( array( 'a' ) ) ) : ( esc_html( apply_filters( 'wp_travel_default_no_trip_type_text', $empty_trip_type_text ) ) ) ) . '</span> </div> </li>', $trip_id ); -
/** * Hook 'wp_travel_single_itinerary_trip_location'. */ do_action( 'wp_travel_single_itinerary_trip_location', $trip_id ); -
/** * Hook 'wp_travel_single_itinerary_trip_review'. */ do_action( 'wp_travel_single_itinerary_trip_review', $trip_id ); -
/** * Content after Top Right Booknow button. */ do_action( 'wp_travel_single_trip_after_booknow', $trip_id ); -
/** * Hook 'wp_travel_single_trip_code'. */ do_action( 'wp_travel_single_trip_code', $wp_travel_itinerary ); -
/** * Hook 'wp_travel_single_trip_facts'. */ do_action( 'wp_travel_single_trip_facts' ); -
/** * Hook 'wp_travel_single_trip_main_contents'. */ do_action( 'wp_travel_single_trip_main_contents', $trip_id ); -
/** * Hook 'wp_travel_single_trip_meta_information'. */ do_action( 'wp_travel_single_trip_meta_information', $trip_id ); -
/** * Filter */ apply_filters( 'wp_travel_trip_schema', $schema, $trip_id, $trip ); -
/** * Hook to trigger after settings saved. */ do_action( 'wptravel_action_after_settings_saved', $settings, $settings_data ); -
/** * Hook to filter query args of payment listings. */ apply_filters( 'wptravel_dashboard_payments_query_args', $query_args ); -
/** * Fires when a deprecated class is called. */ do_action( 'wptravel_deprecated_class_run', static::class, $version, $replacement ); -
/** * Filters whether to trigger an error for deprecated classes. `WP_DEBUG` must * be true in addition to the filter evaluating to true. */ apply_filters( 'wptravel_deprecated_class_trigger_error', true ); -
/** * Filter to modify global FAQ's. */ apply_filters( 'wptravel_global_faqs', $faqs, $settings ); -
/** * Filter to add additional pages added from Custom filters. */ apply_filters( 'wptravel_is_admin_pages', $admin_pages ); -
/** * Filter to customize whether payment enabled or not. */ apply_filters( 'wptravel_is_payment_enabled', $enabled ); -
/** * Filter to add meta fields for itinerary. */ apply_filters( 'wptravel_itinerary_meta_fields', $fields ); -
/** * Filter the WP Travel Layout Version to use layout. */ apply_filters( 'wptravel_layout_version', $version ); -
/** * To add newly added Global faqs in the trip faq list. */ apply_filters( 'wptravel_trip_faqs', $trip_faqs, $post_id ); -
/** * Load Map as per selected current map in the settings. */ do_action( "wptravel_trip_map_{$current_map}", $trip_id, $get_maps ); -
apply_filters( 'wptravel_salutation_input_field_name', 'Salutation' ); -
do_action( 'wp_travel_after_archive_title', get_the_id() ); -
do_action( 'wp_travel_after_main_content' ); -
do_action( 'wp_travel_before_main_content' ); -
apply_filters( 'wp_travel_booked_message', __( "Thank you for booking! We'll reach out to you soon.", 'wp-travel' ) ); -
apply_filters( 'wp_travel_enable_traveller_dob_booking_email', true ); -
apply_filters( 'wp_travel_inventory_data', $inventory_data, $trip_id, $price_key, $start_date ); -
apply_filters( 'wp_travel_list_trips_orders', '' ); -
apply_filters( 'wp_travel_trip_enquiry_label', __( 'Enquiry', 'wp-travel' ) ); -
apply_filters( 'wptravel_hide_empty_taxonomies_search_form', true ); -
do_action( 'wp_travel_after_archive_itinerary', get_the_ID() ); -
do_action( 'wp_travel_before_archive_content_title', get_the_id() ); -
do_action( 'wp_travel_before_archive_itinerary', get_the_ID() ); -
apply_filters( 'wp_travel_booked_message_after_text', ' (' . __( 'Booking Option : Booking Only', 'wp-travel' ) . ').' ); -
apply_filters( 'wp_travel_max_num_pages', '' ); -
apply_filters( 'wp_travel_pagination_range', 2 ); -
apply_filters( 'wp_travel_template_group_size_text', __( '%d %s', 'wp-travel' ) ); -
apply_filters( 'wptravel_checkout_enable_media_input', false ); -
apply_filters( 'wptravel_traveller_salutation', true ); -
apply_filters( 'the_content', wp_kses_post( $new_content ) ); -
apply_filters( 'wp_travel_enable_cart_logs', false ); -
apply_filters( 'wp_travel_enable_quick_book', false ); -
apply_filters( 'wp_travel_enable_traveller_gender_booking_email', true ); -
apply_filters( 'wp_travel_enable_trip_content', false ); -
apply_filters( 'wp_travel_load_google_maps_api', $show_google_map ); -
apply_filters( 'wp_travel_the_content', $wp_travel_overview ); -
apply_filters( 'wp_travel_woo_enable_onapage', false ); -
apply_filters( 'wptravel_show_full_country_name', false ); -
do_action( 'wp_travel_archive_listing_sidebar' ); -
apply_filters( 'wp_travel_custom_itinerary_tabs', false ); -
apply_filters( 'wp_travel_is_custom_tabs_support_enabled', false ); -
apply_filters( 'wp_travel_itinerary_thumbnail_size', 'large' ); -
apply_filters( 'wp_travel_label_for_no_trip_date', 'N/A' ); -
apply_filters( 'wp_travel_price', $option['sale_price'] ); -
apply_filters( 'wptravel_price', $sale_price ); -
apply_filters( 'wptravel_show_trip_start_and_end_date', false ); -
do_action( "{$this->form_options['hook_prefix']}_after_form_field" ); -
do_action( "{$this->form_options['hook_prefix']}_after_submit_button" ); -
do_action( "{$this->form_options['hook_prefix']}_before_form_field" ); -
do_action( "{$this->form_options['hook_prefix']}_before_submit_button" ); -
apply_filters( 'wp_travel_admin_booking_email_tags', $email_tags, $booking_id ); -
do_action( 'wp_travel_after_admin_setting_form' ); -
do_action( 'wp_travel_after_payment_email_sent', $booking_id, $email_data, $email_tags ); -
do_action( 'wp_travel_after_post_filter' ); -
do_action( 'wp_travel_after_single_itinerary', get_the_ID() ); -
do_action( 'wp_travel_archive_after_trip_duration', get_the_ID() ); -
apply_filters( 'wp_travel_archive_itineraries_col_per_row', '3' ); -
apply_filters( 'wp_travel_archive_page_duration_icon', '<i class="far fa-calendar-alt"></i>' ); -
apply_filters( 'wp_travel_archives_page_trip_location', esc_html( $location_name ), $trip_id ); -
do_action( 'wp_travel_before_admin_setting_form' ); -
do_action( 'wp_travel_before_content_start' ); -
do_action( 'wp_travel_before_item_title', get_the_ID() ); -
do_action( 'wp_travel_before_post_filter' ); -
apply_filters( 'wp_travel_before_save_settings', $settings ); -
do_action( 'wp_travel_before_single_itinerary', get_the_ID() ); -
apply_filters( 'wp_travel_booking_admin_emails', get_option( 'admin_email' ) ); -
apply_filters( 'wp_travel_booking_form_fields', array() ); -
do_action( 'wp_travel_dashboard_booking_table_content_after_detail', $b_id, $ordered_data, $payment_info ); -
do_action( 'wp_travel_dashboard_booking_table_title_after_detail' ); -
apply_filters( 'wp_travel_default_group_size_text', $empty_group_size_text ); -
apply_filters( 'wp_travel_enable_arrival_date_on_checkout', false ); -
apply_filters( 'wp_travel_enable_canceled_booking_for_customer', false ); -
apply_filters( 'wp_travel_enable_double_booking_button', true ); -
apply_filters( 'wp_travel_enquiries_form_fields', $enquiry_fields ); -
apply_filters( 'wp_travel_enquiry_capability', 'manage_options' ); -
apply_filters( 'wp_travel_fixed_departure_defalut', $fd ); -
apply_filters( 'wp_travel_frontend_group_sized_show_min_max', ( ( (int) $min_group_size && $min_group_size < 999 ) ? apply_filters( 'wp_travel_template_group_size_text', esc_html( $min_group_size ). ' ' .esc_html( $min_pax_text ) ) : ( esc_html( apply_filters( 'wp_travel_default_no_trip_type_text', $empty_group_size_text ) ) ) ), $trip_id ); -
apply_filters( 'wp_travel_gallery_image', 'medium' ); -
do_action( 'wp_travel_itineraries_after_title', $itinerary ); -
apply_filters( 'wp_travel_list_tour_extras_orders', '' ); -
apply_filters( 'wp_travel_login_errors', __( 'Invalid Username or Password', 'wp-travel' ) ); -
apply_filters( 'wp_travel_lost_password_message', esc_html__( 'Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.', 'wp-travel' ) ); -
apply_filters( 'wp_travel_multiple_currency1', $prices[0] ); -
apply_filters( 'wp_travel_payment_admin_mail', true ); -
apply_filters( 'wp_travel_payout_percent', $payout_percent, $trip_id ); -
apply_filters( 'wp_travel_post_filter_by_price', true ); -
apply_filters( 'wp_travel_search_widget_title', isset( $instance['title'] ) ? $instance['title'] : '' ); -
apply_filters( 'wp_travel_set_pax_increment_by', 1 ); -
apply_filters( 'wp_travel_show_single_page_title', true ); -
do_action( 'wp_travel_single_trip_after_header', get_the_ID() ); -
apply_filters( 'wp_travel_template_book_now_text', $book_now_text ); -
apply_filters( 'wp_travel_template_path', 'wp-travel/' ); -
do_action( 'wp_travel_travel_guide_single_guide_template' ); -
apply_filters( 'wp_travel_trip_discounts', array(), $cart_items ); -
apply_filters( 'wp-travel-pro-bundle-items', array( 'scripts' => array(), 'styles' => array(), ) ); -
apply_filters( 'wptravel_custom_input_increment_pricing_cat', [] ); -
apply_filters( 'wptravel_default_payment', '' ); -
apply_filters( 'wptravel_load_google_maps_api', $show_google_map ); -
apply_filters( 'wptravel_pro_bundle_items', array( 'scripts' => array(), 'styles' => array(), ) ); -
apply_filters( 'wptravel_send_booking_email_to_client', true ); -
apply_filters( 'wptravel_show_group_size_text_single_itinerary', true ); -
do_action( 'wptravel_single_itinerary_main_content' ); -
apply_filters( 'wptravel_template_path', $template_path ); -
apply_filters( 'wptravel_wpml_object_id', (int) $value[ $skey ], $skey, true ); -
do_action( 'wt_before_payment_process', $booking_id ); -
apply_filters( "{$shortcode}_shortcode_tag", $shortcode ); -
apply_filters( 'allow_password_reset', true, $user_data->ID ); -
apply_filters( 'booking_start_date_info', __( 'Booking will start from ', 'wp-travel' ) ); -
apply_filters( 'checkout_default_country', '' ); -
do_action( 'deprecated_function_run', $function, $replacement, $version ); -
do_action( 'deprecated_hook_run', $hook, $replacement, $version, $message ); -
apply_filters( 'import_allow_create_users', true ); -
apply_filters( 'import_allow_fetch_attachments', true ); -
apply_filters( 'import_attachment_size_limit', 0 ); -
do_action( 'import_end' ); -
do_action( 'import_post_meta', $post_id, $key, $value ); -
apply_filters( 'import_post_meta_key', $meta['key'], $post_id, $post ); -
do_action( 'import_start' ); -
do_action( 'lostpassword_post', $errors ); -
do_action( 'password_reset', $user, $new_pass ); -
apply_filters( 'plugin_locale', $locale, 'wp-travel' ); -
do_action( 'retrieve_password', $user_login ); -
apply_filters( 'tour_extra_custom_trip_id', $trip_id ); -
apply_filters( 'trip_reminder_email_headers', ['Content-Type: text/html; charset=UTF-8'], $booking_id, $trip_id ); -
apply_filters( 'trip_reminder_email_message', $message, $booking_id, $trip_id ); -
apply_filters( 'trip_reminder_email_subject', $subject, $booking_id, $trip_id ); -
apply_filters( 'trip_reminder_email_tags', $tags, $booking_id, $trip_id ); -
apply_filters( 'trip_review_email_headers', ['Content-Type: text/html; charset=UTF-8'], $booking_id, $trip_id ); -
apply_filters( 'trip_review_email_message', $message, $booking_id, $trip_id ); -
apply_filters( 'trip_review_email_subject', $subject, $booking_id, $trip_id ); -
apply_filters( 'trip_review_email_tags', $tags, $booking_id, $trip_id ); -
do_action( 'validate_password_reset', $errors, $user ); -
do_action( 'woocommerce_after_checkout_form', $checkout ); -
do_action( 'woocommerce_before_checkout_form', $checkout ); -
woocommerce_checkout_after_customer_details
action Used by 67 plugins → Copy link Customise this hookdo_action( 'woocommerce_checkout_after_customer_details' ); -
do_action( 'woocommerce_checkout_after_order_review' ); -
woocommerce_checkout_before_customer_details
action Used by 67 plugins → Copy link Customise this hookdo_action( 'woocommerce_checkout_before_customer_details' ); -
woocommerce_checkout_before_order_review
action Used by 66 plugins → Copy link Customise this hookdo_action( 'woocommerce_checkout_before_order_review' ); -
woocommerce_checkout_before_order_review_heading
action Used by 42 plugins → Copy link Customise this hookdo_action( 'woocommerce_checkout_before_order_review_heading' ); -
do_action( 'woocommerce_checkout_billing' ); -
woocommerce_checkout_must_be_logged_in_message
filter Used by 67 plugins → Copy link Customise this hookapply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'wp-travel' ) ); -
do_action( 'woocommerce_checkout_order_review' ); -
do_action( 'woocommerce_checkout_shipping' ); -
apply_filters( 'wp_classified_single_archive_rating', __( 'Your rating', 'wp-travel' ) ); -
apply_filters( 'wp_import_categories', $this->categories ); -
do_action( 'wp_import_insert_comment', $inserted_comments[ $key ], $comment, $comment_post_id, $post ); -
do_action( 'wp_import_insert_post', $post_id, $original_post_id, $postdata, $post ); -
do_action( 'wp_import_insert_term', $t, $term, $post_id, $post ); -
do_action( 'wp_import_insert_term_failed', $t, $term, $post_id, $post ); -
apply_filters( 'wp_import_post_comments', $post['comments'], $post_id, $post ); -
apply_filters( 'wp_import_post_data_processed', $postdata, $post ); -
apply_filters( 'wp_import_post_data_raw', $post ); -
do_action( 'wp_import_post_exists', $post ); -
apply_filters( 'wp_import_post_meta', $post['postmeta'], $post_id, $post ); -
apply_filters( 'wp_import_post_terms', $post['terms'], $post_id, $post ); -
apply_filters( 'wp_import_posts', $this->posts ); -
do_action( 'wp_import_set_post_terms', $tt_ids, $ids, $tax, $post_id, $post ); -
apply_filters( 'wp_import_tags', $this->tags ); -
apply_filters( 'wp_import_terms', $this->terms ); -
apply_filters( 'wp_invc_date', 'Date' ); -
apply_filters( 'wp_invc_payment_amount', 'Payment Amount' ); -
apply_filters( 'wp_invc_payment_details', 'Payment Details' ); -
apply_filters( 'wp_invc_payment_id', 'Payment ID / Txn ID' ); -
apply_filters( 'wp_invc_payment_method', 'Payment Method' ); -
do_action( 'wp_login', get_userdata( $user_id )->user_login, get_userdata( $user_id ) ); -
do_action( 'wp_session_cleanup' ); -
do_action( 'wp_session_commit' ); -
apply_filters( 'wp_session_cookie_httponly', false ); -
apply_filters( 'wp_session_cookie_secure', false ); -
apply_filters( 'wp_session_expiration_variant', 24 * 60 ); -
do_action( 'wp_session_start' ); -
apply_filters( 'wp_trave_archives_page_trip_save_offer', wptravel_save_offer( $trip_id ), $trip_id ); -
do_action( 'wp_travel__save_account_details', $user->ID ); -
apply_filters( 'wp_travel_account_shortcode_tag', 'wp_travel_user_account' ); -
do_action( 'wp_travel_action_after_payment_info_field' ); -
do_action( 'wp_travel_action_after_trash_booking', $booking_id ); -
do_action( 'wp_travel_action_after_untrash_booking', $booking_id ); -
do_action( 'wp_travel_action_before_billing_info_field' ); -
do_action( 'wp_travel_action_before_checkout_field' ); -
do_action( 'wp_travel_action_before_payment_info_field' ); -
do_action( 'wp_travel_action_cart_after_date', $trip, $trip_id ); -
apply_filters( 'wp_travel_activity_post_types', array( WP_TRAVEL_POST_TYPE ) ); -
apply_filters( 'wp_travel_add_to_cart_notice_delay_time', 3000 ); -
apply_filters( 'wp_travel_add_to_cart_system', false ); -
apply_filters( 'wp_travel_admin_enquery_email_tags', $email_tags, $formdata ); -
apply_filters( 'wp_travel_admin_general_notice_page_screen_ids', $notice_pages ); -
apply_filters( 'wp_travel_admin_payment_email', $admin_message_data, $booking_id ); -
apply_filters( "wp_travel_admin_pointers-{$screen_id}", array() ); -
apply_filters( 'wp_travel_admin_tabs', $tabs ); -
do_action( 'wp_travel_after_booking_data_save', $booking_id ); -
do_action( 'wp_travel_after_bookings_travel_date', $booking_id ); -
do_action( 'wp_travel_after_deleting_booking_transient' ); -
do_action( 'wp_travel_after_edit_account_form' ); -
do_action( 'wp_travel_after_edit_billing_form' ); -
do_action( 'wp_travel_after_enquiries_email_sent', $admin_email, $customer_email, $formdata, $enquiry_id ); -
do_action( 'wp_travel_after_payment_detail', $booking_id, $payment_args ); -
do_action( 'wp_travel_after_registration_form_password', $settings ); -
do_action( 'wp_travel_after_stat_toolbar_fields' ); -
do_action( 'wp_travel_after_successful_payment', $booking_id ); -
do_action( 'wp_travel_after_trip_details', $post, $settings ); -
apply_filters( 'wp_travel_age_limit_enable', false ); -
apply_filters( 'wp_travel_all_booking_data_list_for_slicewp', $booking_id, $user_id ); -
apply_filters( 'wp_travel_allow_multiple_cart_items', false ); -
apply_filters( 'wp_travel_archive_explore_btn', 'Explore Now' ); -
apply_filters( 'wp_travel_archive_page_group_size_icon', '<i class="fas fa-users"></i>' ); -
apply_filters( 'wp_travel_archive_page_location_icon', '<i class="fas fa-map-marker-alt"></i>' ); -
apply_filters( 'wp_travel_archive_page_trip_code', '#' . $wp_travel_itinerary->get_trip_code(), $wp_travel_itinerary, $trip_id ); -
apply_filters( 'wp_travel_archive_page_trip_image', wptravel_get_post_thumbnail( $trip_id ), $trip_id ); -
apply_filters( 'wp_travel_archive_trip_excerpt', wp_trim_words( $wptravel_content, 15 ) ); -
do_action( 'wp_travel_archive_v2_listing_sidebar' ); -
apply_filters( 'wp_travel_archives_page_trip_book_btn', __( 'Quick Book', 'wp-travel' ), $trip_id ); -
apply_filters( 'wp_travel_archives_page_trip_excerpt', the_excerpt(), $trip_id ); -
apply_filters( 'wp_travel_archives_page_trip_explore_btn', __( 'Explore', 'wp-travel' ), $trip_id ); -
apply_filters( 'wp_travel_archives_page_trip_group_size', wptravel_get_group_size( $trip_id ), $trip_id ); -
apply_filters( 'wp_travel_archives_page_trip_price', wptravel_get_formated_price_currency( $trip_price ), $trip_id ); -
apply_filters( 'wp_travel_archives_page_trip_price_sale', wptravel_get_formated_price_currency( $regular_price, true ), $trip_id ); -
apply_filters( 'wp_travel_archives_page_trip_title', the_title(), $trip_id ); -
apply_filters( 'wp_travel_arrival_time', __( 'Arrival Time', 'wp-travel' ) ); -
apply_filters( 'wp_travel_bank_deposit_allowed_files', 'jpg, png, txt, pdf' ); -
apply_filters( 'wp_travel_bank_deposit_fields', $fields ); -
do_action( 'wp_travel_before_checkout_page_wrap' ); -
do_action( 'wp_travel_before_edit_account_form' ); -
do_action( 'wp_travel_before_edit_billing_form' ); -
do_action( 'wp_travel_before_enquiries_email_sent', $admin_email, $customer_email, $formdata, $enquiry_id ); -
do_action( 'wp_travel_before_payment_email_send', $booking_id ); -
do_action( 'wp_travel_before_stat_toolbar_fields' ); -
do_action( 'wp_travel_before_trip_details', $post, $settings ); -
apply_filters( 'wp_travel_before_user_registration_email', $args ); -
apply_filters( 'wp_travel_block_before_save_settings', $settings, $settings_data ); -
apply_filters( 'wp_travel_block_bookings_date_range', array( '' ) ); -
do_action( 'wp_travel_booking_after_form_field' ); -
do_action( 'wp_travel_booking_before_form_field' ); -
apply_filters( 'wp_travel_booking_email_trip_time', $trip_time_get, $items, $trip_times ); -
apply_filters( 'wp_travel_booking_mail_arrival', __( 'Arrival Date', 'wp-travel' ), $booking_id ); -
apply_filters( 'wp_travel_booking_mail_departure', __( 'Departure Date', 'wp-travel' ), $booking_id ); -
apply_filters( 'wp_travel_booking_mail_itinerary', __( 'Itinerary', 'wp-travel' ), $booking_id ); -
apply_filters( 'wp_travel_booking_mail_pax', !empty( $strings ) ? strtoupper( $strings['bookings']['pax'] ) : __( 'PAX', 'wp-travel' ), $booking_id ); -
apply_filters( 'wp_travel_booking_mail_pax_val', $pax, $booking_id ); -
apply_filters( 'wp_travel_booking_mail_sent_to_admin', true ); -
apply_filters( 'wp_travel_booking_mail_trv_country', esc_html_e( 'Country', 'wp-travel' ) ); -
apply_filters( 'wp_travel_booking_mail_trv_dob', esc_html_e( 'DOB', 'wp-travel' ) ); -
apply_filters( 'wp_travel_booking_mail_trv_email', esc_html_e( 'Email', 'wp-travel' ) ); -
apply_filters( 'wp_travel_booking_mail_trv_gender', esc_html_e( 'Gender', 'wp-travel' ) ); -
apply_filters( 'wp_travel_booking_mail_trv_name', esc_html_e( 'Traveler Name', 'wp-travel' ) ); -
apply_filters( 'wp_travel_booking_mail_trv_phone', esc_html_e( 'Phone No.', 'wp-travel' ) ); -
do_action( 'wp_travel_booking_metabox_after_title', $booking_id ); -
apply_filters( 'wp_travel_booking_pax_editable', '' ); -
apply_filters( 'wp_travel_booking_post_id_to_update', $booking_id, $key, $field['name'] ); -
apply_filters( 'wp_travel_booking_section_main_title', __( 'Select Date and Pricing Options for this trip in the Trip Options setting.', 'wp-travel' ) ); -
apply_filters( 'wp_travel_booking_show_end_date', true ); -
apply_filters( 'wp_travel_booking_status_list', $status ); -
apply_filters( 'wp_travel_booking_status_trigger_from', $booking_id, $booking_status ); -
apply_filters( 'wp_travel_booking_tab_custom_trip_id', $trip_id ); -
apply_filters( 'wp_travel_booking_travel_date', $travel_date, $order_detail ); -
apply_filters( 'wp_travel_calendar_month_names', array( 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ) ); -
apply_filters( 'wp_travel_cancel_booking_days_limit', 7, $booking_id, $travel_date ); -
apply_filters( 'wp_travel_cart_attributes', $attrs, $post_data ); -
do_action( 'wp_travel_cart_before_product_subtotal', $args ); -
do_action( 'wp_travel_cart_empty_message' ); -
apply_filters( 'wp_travel_cart_get_total_fields', $get_total ); -
apply_filters( 'wp_travel_cart_mini_custom_partial_value', $args ); -
apply_filters( 'wp_travel_cart_shortcode_tag', 'wp_travel_cart' ); -
apply_filters( 'wp_travel_cart_sub_total', wptravel_get_formated_price( $cart_total ) ); -
apply_filters( 'wp_travel_change_booking_status_mail_sending', true ); -
apply_filters( 'wp_travel_change_payment_status_mail_sending', true ); -
apply_filters( 'wp_travel_checkout_billing_fields', $billing_fields ); -
apply_filters( 'wp_travel_checkout_default_gateway', $selected_gateway ); -
apply_filters( 'wp_travel_checkout_fields', $checkout_fields ); -
apply_filters( 'wp_travel_checkout_shortcode_tag', 'wp_travel_checkout' ); -
apply_filters( 'wp_travel_checkout_traveller_fields', $traveller_fields ); -
apply_filters( 'wp_travel_chekout_mini_order_txt', __( 'Your Order', 'wp-travel' ) ); -
apply_filters( 'wp_travel_client_payment_email', $client_message_data, $booking_id ); -
apply_filters( 'wp_travel_comment_pagination_args', array( 'prev_text' => '←', 'next_text' => '→', 'type' => 'list', ) ); -
apply_filters( 'wp_travel_comment_reply_link', $link ); -
apply_filters( 'wp_travel_convert_price', $price ); -
apply_filters( 'wp_travel_country_list', $countries ); -
apply_filters( 'wp_travel_coupon_reservation_ttl', 15 * MINUTE_IN_SECONDS ); -
apply_filters( 'wp_travel_coupons_tabs', $tabs ); -
apply_filters( 'wp_travel_create_page_id', $valid_page_found, $slug, $page_content ); -
apply_filters( 'wp_travel_create_pages', array( 'wp-travel-checkout' => array( 'name' => _x( 'wp-travel-checkout', 'Page slug', 'wp-travel' ), 'title' => _x( 'WP Travel Checkout', 'Page title', 'wp-travel' ), 'content' => '[' . $checkout_shortcode_tag . ']', ), 'wp-travel-dashboard' => array( 'name' => _x( 'wp-travel-dashboard', 'Page slug', 'wp-travel' ), 'title' => _x( 'WP Travel Dashboard', 'Page title', 'wp-travel' ), 'content' =>... ); -
do_action( 'wp_travel_critical_admin_notice' ); -
apply_filters( 'wp_travel_currencies', $currency ); -
apply_filters( 'wp_travel_currency_symbol', $currency_symbols[ $currency_code ], $currency_code, $currency_symbols ); -
apply_filters( 'wp_travel_currency_symbols', $currency_symbols ); -
apply_filters( 'wp_travel_custom_trip_booking_count', [] ); -
do_action( 'wp_travel_customer_reset_password', $user ); -
do_action( 'wp_travel_dashboard_booking_after_detail', $booking_id, $details ); -
apply_filters( 'wp_travel_dashboard_url', get_post( get_option( 'wp_travel_wp-travel-dashboard_page_id' ) )->guid ); -
apply_filters( 'wp_travel_dashboard_widget_bookings', 5 ); -
apply_filters( 'wp_travel_dashboard_widget_enquiries', 5 ); -
apply_filters( 'wp_travel_data_max_pax', $max_available, $pax_limit ); -
do_action( 'wp_travel_deactivated' ); -
apply_filters( 'wp_travel_default_frontend_tabs', $return_tabs ); -
apply_filters( 'wp_travel_default_no_activity_text', $empty_activities_text ); -
apply_filters( 'wp_travel_default_trip_tabs', $return_tabs ); -
apply_filters( 'wp_travel_default_view_mode', $default_view_mode ); -
apply_filters( 'wp_travel_departure_time', __( 'Departure Time', 'wp-travel' ) ); -
apply_filters( 'wp_travel_deprecated_admin_notice', array() ); -
apply_filters( 'wp_travel_destinations_post_types', array( WP_TRAVEL_POST_TYPE ) ); -
apply_filters( 'wp_travel_disable_admin_bar', ! current_user_can( 'edit_posts' ) ); -
apply_filters( 'wp_travel_disable_block_editor_for_trip', false ); -
apply_filters( 'wp_travel_disable_default_thankyoupage', false ); -
apply_filters( 'wp_travel_disable_email_template_poweredby', false ); -
apply_filters( 'wp_travel_disable_jetpack_rp', true ); -
apply_filters( 'wp_travel_display_critical_admin_notices', false ); -
apply_filters( 'wp_travel_display_currency_symbol', wptravel_get_currency_symbol(), $post_id ); -
apply_filters( 'wp_travel_display_general_admin_notices', false ); -
do_action( 'wp_travel_edit_account_form' ); -
do_action( 'wp_travel_edit_account_form_end' ); -
do_action( 'wp_travel_edit_account_form_start' ); -
do_action( 'wp_travel_edit_billing_form' ); -
do_action( 'wp_travel_edit_billing_form_end' ); -
do_action( 'wp_travel_edit_billing_form_start' ); -
apply_filters( 'wp_travel_email_departure_time_label', 'Time: ' ); -
apply_filters( 'wp_travel_email_from_name', get_bloginfo( 'name' ) ); -
apply_filters( 'wp_travel_email_itinerary_pdf_attachment', false ); -
apply_filters( 'wp_travel_email_template', $email_template, $type, $sent_to ); -
apply_filters( 'wp_travel_email_template_type', $email_data, $type, $sent_to ); -
apply_filters( 'wp_travel_email_travel_date', $item['arrival_date'], $item ); -
apply_filters( 'wp_travel_enable_booking_reserve_date', false ); -
apply_filters( 'wp_travel_enable_booking_reserve_date_all_trips', true ); -
apply_filters( 'wp_travel_enable_custom_booking_status', array( array( 'label' => __( 'Seats Available', 'wp-travel' ), 'value' => 'seats_available', ), array( 'label' => __( 'Close to Full', 'wp-travel' ), 'value' => 'close_full', ), array( 'label' => __( 'Sold Out', 'wp-travel' ), 'value' => 'sold_out', ), ) ); -
apply_filters( 'wp_travel_enable_custom_booking_status_field', false ); -
apply_filters( 'wp_travel_enable_custom_links_departure', false ); -
apply_filters( 'wp_travel_enable_pickup_location_woo_checkout', false ); -
apply_filters( 'wp_travel_enable_recaptcha_onpage', false ); -
apply_filters( 'wp_travel_enable_sale', $enable_sale, $trip_id, $pricing_options, $price_key ); -
apply_filters( 'wp_travel_enable_traveller_country_booking_email', true ); -
apply_filters( 'wp_travel_enquiries_admin_emails', $site_admin_email ); -
apply_filters( 'wp_travel_enquiry_message_label', __( 'Enquiry Message', 'wp-travel' ) ); -
apply_filters( 'wp_travel_error_codes', $error_codes, $args ); -
apply_filters( 'wp_travel_extras_is_pro_enabled', false ); -
do_action( 'wp_travel_extras_pro_extras_layout', $trip_extras, $price_key, $arrival_date, $trip_id ); -
do_action( 'wp_travel_extras_pro_options' ); -
do_action( 'wp_travel_extras_pro_single_options' ); -
apply_filters( 'wp_travel_faq_schema_items', $faq_items, $trip_id ); -
apply_filters( 'wp_travel_filter_bank_deposit_account_fields', $display_fields ); -
apply_filters( 'wp_travel_filter_cart_item_id', $cart_item_id, $trip_id, $price_key ); -
apply_filters( 'wp_travel_filter_is_enabled_cart_page', $enabled, $settings ); -
apply_filters( 'wp_travel_filter_update_cart_on_add', true ); -
apply_filters( 'wp_travel_force_enable_tour_extras_meta', false ); -
apply_filters( 'wp_travel_frontend_enqueries_validation_check', array( 'status' => true ) ); -
apply_filters( 'wp_travel_frontend_enquiry_data', $enquiry_data ); -
apply_filters( 'wp_travel_frontend_group_sized_show_min_max_in', ( ( (int) $group_size && $group_size < 999 ) ? apply_filters( 'wp_travel_template_group_size_text', esc_html( $group_size ). esc_html( $pax_text ) ) : ( esc_html( apply_filters( 'wp_travel_default_no_trip_type_text', $empty_group_size_text ) ) ) ), $trip_id ); -
do_action( 'wp_travel_general_admin_notice' ); -
apply_filters( "wp_travel_get_{$page}_page_id", $page_id ); -
apply_filters( "wp_travel_get_{$page}_page_permalink", $permalink ); -
apply_filters( 'wp_travel_get_cart_url', wptravel_get_page_permalink( 'cart' ) ); -
apply_filters( 'wp_travel_get_checkout_url', wptravel_get_page_permalink( 'wp-travel-checkout' ) ); -
apply_filters( 'wp_travel_get_endpoint_url', $url, $endpoint, $value, $permalink ); -
apply_filters( 'wp_travel_get_query_vars', $this->query_vars ); -
apply_filters( 'wp_travel_get_travelers_info_from_checkout_form', false ); -
apply_filters( 'wp_travel_get_username_from_email', true ); -
apply_filters( 'wp_travel_hide_mini_cart_on_checkout', false ); -
apply_filters( 'wp_travel_hide_per_person', false, $trip_id, $price_key ); -
apply_filters( 'wp_travel_image_size', array( 'width' => 365, 'height' => 215, ) ); -
apply_filters( 'wp_travel_inventory_pax_limit', '', $trip_id, $price_key ); -
apply_filters( 'wp_travel_is_account_page', false ); -
apply_filters( 'wp_travel_itineraries_array', $itineraries_array, $args ); -
apply_filters( 'wp_travel_itineraries_col_per_row', '3' ); -
do_action( 'wp_travel_itinerary_extra_meta_save', $trip_id ); -
apply_filters( 'wp_travel_itinerary_faq_answers', $answers, $post_id ); -
apply_filters( 'wp_travel_itinerary_faq_questions', $questions, $post_id ); -
apply_filters( 'wp_travel_itinerary_filters', array( 'itinerary-booking' ) ); -
apply_filters( 'wp_travel_itinerary_tabs', $return_tabs ); -
apply_filters( 'wp_travel_ititneraries_trip_outline_tab', __( 'Itineraries', 'wp-travel' ), $wptravel_trip_id ); -
apply_filters( 'wp_travel_js_date_format', $js_date_format ); -
apply_filters( 'wp_travel_kewords_post_types', array( WP_TRAVEL_POST_TYPE ) ); -
apply_filters( 'wp_travel_keywords_placeholder', $placeholder ); -
apply_filters( 'wp_travel_list_archive_duration_na', 'N/A' ); -
apply_filters( 'wp_travel_list_archive_page_trip_duration_day', $strings['days'] ); -
apply_filters( 'wp_travel_list_archive_page_trip_duration_hour', $strings['hour'] ); -
apply_filters( 'wp_travel_list_archive_page_trip_duration_minute', $strings['minutes'] ); -
apply_filters( 'wp_travel_list_archive_page_trip_duration_night', $strings['nights'] ); -
apply_filters( 'wp_travel_load_old_frontend_js', false ); -
apply_filters( 'wp_travel_load_text_domain_from_mo_files', false ); -
apply_filters( 'wp_travel_localize_data_travel', $_wp_travel ); -
apply_filters( 'wp_travel_localize_data_wp_travel', $wp_travel ); -
apply_filters( 'wp_travel_localize_gallery_data', $wp_travel_gallery_data ); -
apply_filters( 'wp_travel_login_credentials', $creds ); -
apply_filters( 'wp_travel_login_redirect', remove_query_arg( 'wp_travel_error', $redirect ), $user ); -
apply_filters( 'wp_travel_login_required_description', __( 'You need to login before you book a trip.', 'wp-travel' ) ); -
apply_filters( 'wp_travel_login_required_header_text', __( 'Login Required', 'wp-travel' ) ); -
apply_filters( 'wp_travel_login_required_link_text', __( 'Click here to login', 'wp-travel' ) ); -
do_action( 'wp_travel_lostpassword_form' ); -
apply_filters( 'wp_travel_lostpassword_url', $url, $default_url ); -
apply_filters( 'wp_travel_maps', $wp_travel_maps ); -
apply_filters( 'wp_travel_min_max_show_frontend', $group_size, $this->post->ID ); -
apply_filters( 'wp_travel_min_price_key', $price_key, $pricing_options ); -
apply_filters( 'wp_travel_moment_date_format', $js_date_format ); -
apply_filters( 'wp_travel_multiple_currency', $price ); -
do_action( 'wp_travel_multiple_time_cart_page', $trip, $trip_id, $price_key, $trip['arrival_date'] ); -
apply_filters( 'wp_travel_network_settings_tabs', $settings_fields ); -
apply_filters( 'wp_travel_new_customer_data', array( 'user_login' => $username, 'user_pass' => $password, 'user_email' => $email, 'role' => 'wp-travel-customer', ) ); -
apply_filters( 'wp_travel_og_image_size', 'large' ); -
apply_filters( 'wp_travel_partial_payment_due_amount', $details['due_amount'] ); -
apply_filters( 'wp_travel_payment_gateway_lists', $gateway ); -
apply_filters( 'wp_travel_payment_mode_list', $mode ); -
apply_filters( 'wp_travel_payment_modes', $modes ); -
apply_filters( 'wp_travel_payment_status_list', $status ); -
apply_filters( 'wp_travel_payments_admin_emails', $saved_pmt_emails ); -
apply_filters( 'wp_travel_paypal_args', $args ); -
apply_filters( 'wp_travel_pickup_locations_label', 'Pickup Locations:', $trip_id ); -
apply_filters( 'wp_travel_placeholder_image_url', $thumbnail_url ); -
do_action( "wp_travel_post_tabs_content_{$key}", $post ); -
apply_filters( 'wp_travel_powered_by_text_new_account_email', $html ); -
apply_filters( 'wp_travel_powered_by_text_pass_reset_email', $html ); -
apply_filters( 'wp_travel_price_per_fields', $price_per ); -
apply_filters( 'wp_travel_pricing_option_list', $type ); -
apply_filters( 'wp_travel_pricing_option_listing_type', $list_type ); -
apply_filters( 'wp_travel_process_login_errors', $validation_error, $username, $password ); -
apply_filters( 'wp_travel_process_registration_errors', $validation_error, $username, $password, $email ); -
wp_travel_product_review_comment_form_args
filter Used by 3 plugins → Copy link Customise this hookapply_filters( 'wp_travel_product_review_comment_form_args', $comment_form ); -
apply_filters( 'wp_travel_register_field_types', $field_types ); -
apply_filters( 'wp_travel_register_redirect', remove_query_arg( 'wp_travel_error', $redirect ), $username ); -
apply_filters( 'wp_travel_registration_auth_new_customer', true, $new_customer ); -
apply_filters( 'wp_travel_registration_error_email_exists', __( 'An account is already registered with your email address. Please log in.', 'wp-travel' ), $email ); -
apply_filters( 'wp_travel_registration_errors', $errors, $username, $email ); -
apply_filters( 'wp_travel_reject_checkout_cache_plugin', $support_plugins ); -
do_action( 'wp_travel_reject_checkout_cache_plugin_action', $support_plugins ); -
apply_filters( 'wp_travel_require_all_travelers_fields', false ); -
apply_filters( 'wp_travel_reset_password_message', __( 'Enter a new password below.', 'wp-travel' ) ); -
do_action( 'wp_travel_resetpassword_form' ); -
do_action( 'wp_travel_review_after_comment_text', $comment ); -
do_action( 'wp_travel_review_before_comment_meta', $comment ); -
do_action( 'wp_travel_review_before_comment_text', $comment ); -
apply_filters( 'wp_travel_review_count', $count, $post ); -
apply_filters( 'wp_travel_review_gravatar_size', '60' ); -
apply_filters( 'wp_travel_review_list_args', array( 'callback' => 'wptravel_comments' ) ); -
apply_filters( 'wp_travel_same_day_booking', true ); -
do_action_ref_array( 'wp_travel_save_account_details_errors', array( &$errors, &$user ) ); -
apply_filters( 'wp_travel_save_account_details_required_fields', array( 'account_first_name' => __( 'First name', 'wp-travel' ), 'account_last_name' => __( 'Last name', 'wp-travel' ), 'account_email' => __( 'Email address', 'wp-travel' ), ) ); -
do_action( 'wp_travel_save_billing_details', $user_id ); -
apply_filters( 'wp_travel_save_customer_billing_details_required_fields', array( 'customer_billing_address' => __( 'Billing Address', 'wp-travel' ), 'customer_billing_city' => __( 'Billing City', 'wp-travel' ), 'customer_zip_code' => __( 'ZIP Code', 'wp-travel' ), ) ); -
apply_filters( 'wp_travel_save_trip_metas', $trip_meta, $trip_id ); -
apply_filters( 'wp_travel_search_filter_input_fields', array( 'search' => true, 'trip_type' => true, 'location' => true, 'activity' => false, 'travel_keywords' => false, ) ); -
apply_filters( 'wp_travel_search_filter_label_strings', array( 'search' => __( 'Search:', 'wp-travel' ), 'trip_type' => __( 'Trip Type:', 'wp-travel' ), 'location' => __( 'Location:', 'wp-travel' ), 'activity' => __( 'Activity:', 'wp-travel' ), 'travel_keywords' => __( 'Keywords:', 'wp-travel' ), 'search_button' => __( 'Search', 'wp-travel' ), ) ); -
apply_filters( 'wp_travel_search_filter_widget_form_fields', $fields ); -
apply_filters( 'wp_travel_search_form', ob_get_clean() ); -
apply_filters( 'wp_travel_search_placeholder', $placeholder ); -
apply_filters( 'wp_travel_select_date_label', __( 'Select a Date', 'wp-travel' ) ); -
apply_filters( 'wp_travel_select_date_notice_label', __( 'Select a Date to view available pricings and other options.', 'wp-travel' ) ); -
apply_filters( 'wp_travel_select_you_pax', __( 'Select Your Pax', 'wp-travel' ) ); -
apply_filters( 'wp_travel_selected_payment_gateway', $gateway_list['selected'] ); -
apply_filters( 'wp_travel_send_booking_admin_emails_to_admin', true ); -
apply_filters( 'wp_travel_send_booking_emails', true ); -
apply_filters( 'wp_travel_send_payment_admin_emails_to_admin', true ); -
apply_filters( 'wp_travel_set_pax_input_disable', false ); -
wp_travel_set_pricing_cat_to_show_min_price_single_trip_template
filter Copy link Customise this hookapply_filters( 'wp_travel_set_pricing_cat_to_show_min_price_single_trip_template', 'Adult' ); -
apply_filters( 'wp_travel_set_trip_id_on_enquiry_form', $post->ID ); -
apply_filters( 'wp_travel_settings_fields', $settings_fields ); -
apply_filters( 'wp_travel_settings_options', $settings_options, $settings ); -
apply_filters( 'wp_travel_settings_react_enabled', true ); -
apply_filters( 'wp_travel_settings_tabs', $settings_fields ); -
apply_filters( 'wp_travel_settings_values', $settings ); -
apply_filters( 'wp_travel_shortcode_atts', $defaults ); -
apply_filters( 'wp_travel_shortcodes', $shortcodes ); -
wp_travel_show_min_price_from_selected_pricing_cat_single_trip_template
filter Copy link Customise this hookapply_filters( 'wp_travel_show_min_price_from_selected_pricing_cat_single_trip_template', false ); -
apply_filters( 'wp_travel_show_multiple_fixed_departure_dates', true ); -
apply_filters( 'wp_travel_show_pricing_label_on_name', true ); -
apply_filters( 'wp_travel_show_pricing_lable_on_name', true ); -
apply_filters( 'wp_travel_show_upsell_message', true, $types ); -
apply_filters( 'wp_travel_singel_archive_reviews', __( 'Your review', 'wp-travel' ) ); -
apply_filters( 'wp_travel_singel_page_offer', 'Offer' ); -
apply_filters( 'wp_travel_singel_page_view_gallery', 'View Gallery' ); -
do_action( 'wp_travel_single_after_location_data' ); -
apply_filters( 'wp_travel_single_archive_activities', '<li> <div class="travel-info"> <strong class="title">' . esc_html( $activities_text ) . '</strong> </div> <div class="travel-info"> <span class="value">' . ( ( $activity_list ) ? wp_kses( $activity_list, wptravel_allowed_html( array( 'a' ) ) ) : ( esc_html( apply_filters( 'wp_travel_default_no_trip_type_text', $empty_activities_text ) ) ) ) . '</span> </div> </li>', $trip_id ); -
wp_travel_single_archive_after_comment_text
action Used by 3 plugins → Copy link Customise this hookdo_action( 'wp_travel_single_archive_after_comment_text', $comment, $rating ); -
apply_filters( 'wp_travel_single_archive_comment', comment_text() ); -
wp_travel_single_archive_comment_approve_message
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'wp_travel_single_archive_comment_approve_message', __( 'Your comment is awaiting approval', 'wp-travel' ) ); -
apply_filters( 'wp_travel_single_archive_comment_author', comment_author() ); -
apply_filters( 'wp_travel_single_archive_comment_date', get_comment_date( 'c' ) ); -
wp_travel_single_archive_comment_date_format
filter Used by 3 plugins → Copy link Customise this hookapply_filters( 'wp_travel_single_archive_comment_date_format', get_comment_date( get_option( 'date_format' ) ) ); -
apply_filters( 'wp_travel_single_archive_comment_form', comment_form( apply_filters( 'wp_travel_product_review_comment_form_args', $comment_form ) ) ); -
wp_travel_single_archive_comment_form_submit
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'wp_travel_single_archive_comment_form_submit', __( 'Submit', 'wp-travel' ) ); -
apply_filters( 'wp_travel_single_archive_group_size', '<li> <div class="travel-info"> <strong class="title">' . esc_html( $group_size_text ) . '</strong> </div> <div class="travel-info"> <span class="value minpax">' . apply_filters( 'wp_travel_frontend_group_sized_show_min_max', ( ( (int) $min_group_size && $min_group_size < 999 ) ? apply_filters( 'wp_travel_template_group_size_text', esc_html( $min_group_size ). ' ' .esc_html( $min_pax_text ) ) :... ); -
wp_travel_single_archive_no_review_message
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'wp_travel_single_archive_no_review_message', __( 'There are no reviews yet.', 'wp-travel' ) ); -
wp_travel_single_archive_page_form_add_txt
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'wp_travel_single_archive_page_form_add_txt', __( 'Add a review', 'wp-travel' ) ); -
apply_filters( 'wp_travel_single_archive_page_trip_duration', true, $trip_id ); -
apply_filters( 'wp_travel_single_archive_page_trip_location', true, $trip_id ); -
apply_filters( 'wp_travel_single_archive_rate', __( 'Your rating', 'wp-travel' ) ); -
apply_filters( 'wp_travel_single_archive_replys', __( 'Your reply', 'wp-travel' ) ); -
apply_filters( 'wp_travel_single_archive_review', '', $trip_id ); -
apply_filters( 'wp_travel_single_archive_rv', __( 'Your review', 'wp-travel' ) ); -
apply_filters( 'wp_travel_single_archive_trip_code', true, $trip_id ); -
apply_filters( 'wp_travel_single_archive_trip_keyword', true, $trip_id ); -
apply_filters( 'wp_travel_single_archive_trip_tilte', the_title( '<h1 class="entry-title">', '</h1>' ), $trip_id ); -
apply_filters( 'wp_travel_single_archive_your_rating', __( 'Your rating', 'wp-travel' ) ); -
apply_filters( 'wp_travel_single_archive_your_review', __( 'Your review', 'wp-travel' ) ); -
do_action( 'wp_travel_single_before_trip_price', $trip_id, $hide_rating ); -
do_action( 'wp_travel_single_trip_after_price', $trip_id, $hide_rating ); -
do_action( 'wp_travel_single_trip_meta_list', $trip_id ); -
do_action( 'wp_travel_standard_paypal_payment_process', $booking_id, $_POST['complete_partial_payment'] ); -
apply_filters( 'wp_travel_strings', $localized_strings ); -
apply_filters( 'wp_travel_success_codes', $codes ); -
apply_filters( 'wp_travel_tabs', $tabs ); -
do_action( "wp_travel_tabs_content_{$collection}_{$key}", $key, $args ); -
apply_filters( 'wp_travel_template_book_now_button', '<button class="wptravel-book-your-trip wp-travel-booknow-btn">' . esc_html( apply_filters( 'wp_travel_template_book_now_text', $book_now_text ) ) . '</button>', $book_now_text ); -
apply_filters( 'wp_travel_thankyou_page_url', $thankyou_page_url, $trip_id ); -
apply_filters( 'wp_travel_theme_wrapper_class', $wrapper_class, $template ); -
apply_filters( 'wp_travel_tour_extras_array', $itineraries_array, $args ); -
do_action( 'wp_travel_tour_extras_cart_block', $trip_extras, $cart_id, $trip_id ); -
do_action( 'wp_travel_tour_extras_mini_cart_block', $trip_extras, $cart_id, $trip_id, $price_key ); -
apply_filters( 'wp_travel_tour_extras_post_type_args', $args ); -
apply_filters( 'wp_travel_tour_extras_tabs', $tabs ); -
apply_filters( 'wp_travel_trip_archive_filter_by', $list_type ); -
apply_filters( 'wp_travel_trip_archive_list_review', wptravel_tab_show_in_menu( 'reviews' ) ); -
apply_filters( 'wp_travel_trip_availability', $availability, $trip_id, $price_key, $start_date ); -
apply_filters( 'wp_travel_trip_calendar_day_names', array( 0 => 'Sun', 1 => 'Mon', 2 => 'Tue', 3 => 'Wed', 4 => 'Thu', 5 => 'Fri', 6 => 'Sat', ) ); -
apply_filters( 'wp_travel_trip_calendar_header_toolbar', array( 'left' => 'prev,next today', 'center' => 'title', 'right' => 'dayGridMonth,timeGridWeek,listWeek', ) ); -
apply_filters( 'wp_travel_trip_calendar_initial_view', 'dayGridMonth' ); -
apply_filters( 'wp_travel_trip_code', 'WT-CODE ' . $post_id, $post_id ); -
apply_filters( 'wp_travel_trip_code_enable_disable', true ); -
apply_filters( 'wp_travel_trip_data', $trip_data, $trip->ID ); -
apply_filters( 'wp_travel_trip_days_label', 'days' ); -
do_action( 'wp_travel_trip_details', $post, $settings ); -
apply_filters( 'wp_travel_trip_duration', $content, $post_id ); -
apply_filters( 'wp_travel_trip_duration_arrival_time', false ); -
apply_filters( 'wp_travel_trip_duration_formated_texted', $trip_duration, $get_Duration, $trip_duration_nights, $trip_duration_days, $trip_id ); -
apply_filters( 'wp_travel_trip_duration_formating_selected', $trip_duration_formating ); -
apply_filters( 'wp_travel_trip_duration_formating_selecteds', $trip_duration_formating ); -
apply_filters( 'wp_travel_trip_duration_trip_list', esc_html( $trip_duration ), $post_id ); -
do_action( 'wp_travel_trip_durations_valitions' ); -
apply_filters( 'wp_travel_trip_enquiry_labels', __( 'Trip Enquiry', 'wp-travel' ) ); -
apply_filters( 'wp_travel_trip_enquiry_mail', true ); -
apply_filters( 'wp_travel_trip_enquiry_popup_link_text', $trip_enquiry_text ); -
apply_filters( 'wp_travel_trip_extras_content_limit', 250 ); -
apply_filters( 'wp_travel_trip_extras_custom_prices', $price, $e_id, $item['trip_id'] ); -
apply_filters( 'wp_travel_trip_extras_custom_sale_prices', $sale_price, $e_id, $item['trip_id'] ); -
do_action( 'wp_travel_trip_extras_fields', $post_id, $context, $fetch_key, $table_row ); -
apply_filters( 'wp_travel_trip_extras_heading', __( 'Trip Extras:', 'wp-travel' ) ); -
do_action( 'wp_travel_trip_inventory', $inventory_args ); -
apply_filters( 'wp_travel_trip_map_use_lat_lng', $use_lat_lng, $trip_id ); -
apply_filters( 'wp_travel_trip_price_per', $price_per ); -
apply_filters( 'wp_travel_trip_single_page_thumbnail', wp_kses( wptravel_get_post_thumbnail( get_the_ID() ), wptravel_allowed_html( array( 'img' ) ) ), get_the_ID() ); -
apply_filters( 'wp_travel_trip_single_page_thumbnail_background', wptravel_get_post_thumbnail_url( get_the_ID(), 'large' ), get_the_ID() ); -
apply_filters( 'wp_travel_trip_tabs_output_raw', false, $tab_key ); -
apply_filters( 'wp_travel_trip_thumbnail_enable_disable', true ); -
apply_filters( 'wp_travel_trip_title_enable_disable', true ); -
apply_filters( 'wp_travel_trip_type_post_types', array( WP_TRAVEL_POST_TYPE ) ); -
apply_filters( 'wp_travel_trip_whatsapp_link', "https://api.whatsapp.com/send/?phone={$phone_number}&text={$encoded_message}&type=phone_number&app_absent=0" ); -
apply_filters( 'wp_travel_trip_zoomlevel', $zoomlevel, $trip_id ); -
do_action( 'wp_travel_update_trip_data', $trip_data, $trip_id ); -
apply_filters( 'wp_travel_use_cart_trip_time', '', $cart_item ); -
apply_filters( 'wp_travel_use_currency_name', $currency_code ); -
apply_filters( 'wp_travel_user_account_mail', true ); -
do_action( 'wp_travel_user_dashboard_after_account_info' ); -
apply_filters( 'wp_travel_variation_pricing_options', $variation_options ); -
do_action( 'wp_travel_verify_paypal_ipn' ); -
apply_filters( 'wp_travel_wpml_object_id', $settings['checkout_page_id'], 'checkout_page_id' ); -
apply_filters( 'wp-travel-script-handles', array() ); -
do_action( 'wpcrm_post_booking_user', $sanitized_data ); -
apply_filters( 'wpml_object_id', $page_id, 'page', true ); -
apply_filters( 'wptravel_account_shortcode_tag', $account_shortcode_tag ); -
do_action( 'wptravel_action_after_trash_booking', $booking_id ); -
do_action( 'wptravel_action_after_untrash_booking', $booking_id ); -
do_action( 'wptravel_action_send_booking_email', $booking_id, $sanitized_data, $new_trip_id ); -
do_action( 'wptravel_after_cart_summary' ); -
apply_filters( 'wptravel_after_excerpt_single_trip_page', $wptravel_after_excerpt_single_trip_page, $trip_id ); -
do_action( 'wptravel_after_frontend_booking_save', $booking_id, $first_key ); -
do_action( 'wptravel_after_stat_toolbar_fields' ); -
apply_filters( 'wptravel_api_version', $this->api_version ); -
do_action( 'wptravel_before_cart_summary' ); -
apply_filters( 'wptravel_before_insert_partial_payment', $payment_id, $booking_id, $payment_gateway ); -
do_action( 'wptravel_before_stat_toolbar_fields' ); -
apply_filters( 'wptravel_booking_offset', 0 ); -
apply_filters( 'wptravel_booking_privacy_policy_text', 'The customer has accepted the Privacy Policy as part of this booking process. All personal data provided will be handled in accordance with our Privacy Policy to ensure compliance with applicable data protection regulations.' ); -
apply_filters( 'wptravel_bypass_coming_soon', false ); -
apply_filters( 'wptravel_can_load_payment_scripts', $can_load_payment_script ); -
apply_filters( 'wptravel_cart_shortcode_tag', $cart_shortcode_tag ); -
apply_filters( 'wptravel_chart_data', $wp_travel_chart_data ); -
apply_filters( 'wptravel_checkout_media_input_label', __( 'Upload Media', 'wp-travel' ) ); -
apply_filters( 'wptravel_checkout_shortcode_tag', $checkout_shortcode_tag ); -
apply_filters( 'wptravel_checkout_tax_label', ! empty($strings) ? $strings['bookings']['price_tax'] : esc_html__( 'Tax ', 'wp-travel' ) . ' ', $tax_rate, $cart ); -
apply_filters( 'wptravel_checkout_total_label', esc_html__( 'Total:', 'wp-travel' ), $cart ); -
apply_filters( 'wptravel_checkout_total_upfront_label', esc_html__( 'Total upfront', 'wp-travel' ), $cart ); -
apply_filters( 'wptravel_create_page_id', $valid_page_found, $slug, $page_content ); -
apply_filters( 'wptravel_create_pages', $pages ); -
do_action( 'wptravel_created_customer', $customer_id, $new_customer_data, $password_generated ); -
apply_filters( 'wptravel_custom_itinerary_tabs', $enable_custom_itinerary_tabs ); -
apply_filters( 'wptravel_disable_admin_bar', $cant_edit ); -
apply_filters( 'wptravel_discount_applicable_total', $discount_applicable_total, $cart_total, $trips ); -
apply_filters( 'wptravel_email_content_for_booking_cancelation', $message, $traveler_name, $traveler_lname, $booking_id ); -
apply_filters( 'wptravel_email_content_for_booking_status', $message, $traveler_name, $old_status, $new_status ); -
apply_filters( 'wptravel_email_content_for_payment_status', $message, $traveller_name, $old_payment_status, $new_payment_status ); -
apply_filters( 'wptravel_email_subject_for_booking_status', __( 'Booking status update', 'wp-travel' ) ); -
apply_filters( 'wptravel_email_subject_for_payment_status', __( 'Booking payment status update', 'wp-travel' ) ); -
apply_filters( 'wptravel_email_travel_date', $email_travel_date, $item ); -
apply_filters( 'wptravel_enable_itinerary_toogle', false ); -
apply_filters( 'wptravel_enable_multiple_checkout', $allow_multiple_items ); -
apply_filters( 'wptravel_enable_privacy_policy_checkout_box_enquiry_form', true ); -
apply_filters( 'wptravel_enable_recaptcha_on_review_form', false ); -
apply_filters( 'wptravel_enable_sale', $enable_sale, $trip_id, $pricing_options, $price_key ); -
apply_filters( 'wptravel_enable_scroll_to_top_btn', false ); -
apply_filters( 'wptravel_enable_trip_edit_access_editor', false ); -
apply_filters( 'wptravel_exclude_booking_dates', array() ); -
apply_filters( 'wptravel_exclude_booking_dates_range_for_all_trips', array() ); -
apply_filters( 'wptravel_extras_is_pro_enabled', $is_pro_enabled ); -
do_action( 'wptravel_extras_pro_single_options' ); -
apply_filters( 'wptravel_filter_cart_item_id', $cart_item_id, $args ); -
apply_filters( 'wptravel_fixed_departure_defalut', $fd ); -
apply_filters( 'wptravel_force_switch_to_react', $options, $user_since ); -
apply_filters( 'wptravel_frontend_data', $wp_travel, $settings ); -
apply_filters( 'wptravel_get_endpoint_url', $url, $endpoint, $value, $permalink ); -
apply_filters( 'wptravel_get_price', (float) $price, $args ); -
apply_filters( 'wptravel_group_size', $group_size, $this->post->ID ); -
apply_filters( 'wptravel_image_size', $image_size ); -
apply_filters( 'wptravel_inventory_args', $inventory_args ); -
apply_filters( 'wptravel_is_account_page', $is_account_page ); -
apply_filters( 'wptravel_is_admin_page', false, $slug, $screen->id ); -
apply_filters( 'wptravel_localized_data', $localized_data ); -
apply_filters( 'wptravel_lostpassword_url', $url, $default_url ); -
apply_filters( 'wptravel_maps_data', $maps, $settings ); -
apply_filters( 'wptravel_modules', array() ); -
apply_filters( 'wptravel_multiple_currency', $price ); -
apply_filters( 'wptravel_new_customer_data', $new_customer_data ); -
apply_filters( 'wptravel_new_trip_data', $new_post_data, $trip_id ); -
apply_filters( 'wptravel_payout_percent', $payout_percent, $trip_id ); -
apply_filters( 'wptravel_pricing_option_list', $type ); -
apply_filters( 'wptravel_registered_scripts', $registered ); -
apply_filters( 'wptravel_registration_error_email_exists', $error_message, $email ); -
apply_filters( 'wptravel_registration_errors', $errors, $username, $email ); -
apply_filters( 'wptravel_reject_checkout_cache_plugin', $support_plugins ); -
do_action( 'wptravel_reject_checkout_cache_plugin_action', $support_plugins ); -
apply_filters( 'wptravel_removed_traveler_text_from_checkout_data', false ); -
do_action( 'wptravel_save_bookings_data_google_sheet', $booking_id ); -
do_action( 'wptravel_save_enquiries_data_google_sheet', $enquiry_data ); -
apply_filters( 'wptravel_script_handles', $wp_travel_addon_handles ); -
do_action( 'wptravel_send_booking_conformation_on_whatsapp', $booking_id ); -
do_action( 'wptravel_send_email_to_guide', $booking_id, $email_tags, $headers ); -
apply_filters( 'wptravel_settings_react_enabled', $react_settings_enable ); -
apply_filters( 'wptravel_show_quick_view_option', false ); -
apply_filters( 'wptravel_show_trip_start_and_trip_duration', false ); -
apply_filters( 'wptravel_show_upsell_message', $show_upsell, $types ); -
apply_filters( 'wptravel_skip_add_to_cart', false ); -
do_action( 'wptravel_tour_extras_gallery_tab_content' ); -
apply_filters( 'wptravel_tour_extras_tabs', $tabs ); -
apply_filters( 'wptravel_travellers_data_key', [ 'fname', 'lname', 'country', 'phone', 'email', 'date_of_birth', 'gender' ] ); -
apply_filters( 'wptravel_trip_data', $trip_data, $trip->ID ); -
apply_filters( 'wptravel_trip_dates', $dates, $trip_id ); -
do_action( 'wptravel_trip_extras_fields', $post_id, $context, $fetch_key, $table_row ); -
do_action( 'wptravel_trip_inventory', $inventory_args ); -
apply_filters( 'wptravel_trip_map_use_lat_lng', $use_lat_lng, $trip_id ); -
apply_filters( 'wptravel_trip_pricing_options', array( 'multiple-price' => esc_html__( 'Multiple Pricing', 'wp-travel' ), 'custom-booking' => esc_html__( 'Custom Booking', 'wp-travel' ), ) ); -
apply_filters( 'wptravel_trip_zoomlevel', $zoomlevel, $trip_id ); -
do_action( 'wptravel_update_trip_data', $trip_data, $trip_id ); -
apply_filters( 'wptravel_use_itinerary_layout_v2', false ); -
apply_filters( 'wptravel_use_schema', true ); -
apply_filters( 'wptravel_whatsapp_message', $raw_message, $trip_id, $trip_name, $trip_link, $settings );
Generated from WP Travel's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: