Action Hooks Associated With Tab

Action: wp_travel_tabs_content_ . $collection . _ . $key #

Fire on WP Travel tabs section.

Active Since v1.9.0

Source

File: /inc/admin/views/tabs/tabs.php
Used by: /inc/admin/views/tabs/tabs.php

Parameter
$key, $args

Example:

function prefix_wp_travel_tabs_content_’$collection_name’_’$key’( $key, $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_tabs_content_' . $collection . '_' . $key', 'prefix_wp_travel_tabs_content_’$collection_name’_’$key  );

Action: wp_travel_trip_cart_checkout_tab_content #

Fire on WP Travel trip cart and checkout tab. Currently using for inventory content.

Active Since v2.0.0

Source

File: /inc/admin/views/tabs/tabs-contents/itineraries/cart-checkout.php
Used by: /inc/admin/views/tabs/tabs-contents/itineraries/cart-checkout.php

Parameter
$args

Example:

function prefix_wp_travel_trip_cart_checkout_tab_content( $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_trip_cart_checkout_tab_content', 'prefix_wp_travel_trip_cart_checkout_tab_content’  );

Action: wp_travel_trip_downloads_tab_content #

Fire on WP Travel trip download tab. Currently using for download addon content.

Active Since v2.0.0

Source

File: /inc/admin/views/tabs/tabs-contents/itineraries/cart-checkout.php
Used by: /inc/admin/views/tabs/tabs-contents/itineraries/cart-checkout.php

Parameter
$args

Example:

function prefix_wp_travel_trip_downloads_tab_content( $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_trip_downloads_tab_content', 'prefix_wp_travel_trip_downloads_tab_content’  );

Action: wp_travel_trip_inventory_tab_content #

Fire on WP Travel trip inventory tab. Currently using Utilities addon content.

Active Sincev2.0.0

Source

File: /inc/admin/views/tabs/tabs-contents/itineraries/inventory.php
Used by:/inc/admin/views/tabs/tabs-contents/itineraries/inventory.php

Parameter
$args

Example:

function prefix_wp_travel_trip_inventory_tab_content( $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_trip_inventory_tab_content', 'prefix_wp_travel_trip_inventory_tab_content’  );

Action: wp_travel_itinerary_price_tab_table_last_row #

Fire after WP Travel trip admin minimum payout percent.

Source

File: /inc/admin/views/tabs/tabs-contents/itineraries/price.php
Used by: /inc/admin/views/tabs/tabs-contents/itineraries/price.php

Parameter
$post_id

Example:

function prefix_wp_travel_itinerary_price_tab_table_last_row( $post_id ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_itinerary_price_tab_table_last_row', 'prefix_wp_travel_itinerary_price_tab_table_last_row’ );

Action: wp_travel_itinerary_custom_tabs #

Fire before WP Travel trip admin global tabs.

Source

File: /inc/admin/views/tabs/tabs-contents/itineraries/tabs.php
Used by: /inc/admin/views/tabs/tabs-contents/itineraries/tabs.php

Parameter
$post_id

Example:

function prefix_wp_travel_itinerary_custom_tabs( $post_id ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_itinerary_custom_tabs', 'prefix_wp_travel_itinerary_custom_tabs’ );

Action: wp_travel_addons_setings_tab_fields #

Fire in WP Travel admin addon settings tab.

Source

File: /inc/admin/views/tabs/tabs-contents/settings/addons-settings.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/addons-settings.php

Parameter
$args

Example:

function prefix_wp_travel_addons_setings_tab_fields( $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_addons_setings_tab_fields', 'prefix_wp_travel_addons_setings_tab_fields’ );

Action: wp_travel_settings_tab_cart_checkout_fields #

Fire in WP Travel admin cart and checkout settings tab.

Source

File: /inc/admin/views/tabs/tabs-contents/settings/cart-checkout-settings-global.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/cart-checkout-settings-global.php

Parameter
$args

Example:

function prefix_wp_travel_settings_tab_cart_checkout_fields( $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_settings_tab_cart_checkout_fields', 'prefix_wp_travel_settings_tab_cart_checkout_fields’ );

Action: wp_travel_below_debug_tab_fields #

Fire in WP Travel admin debug settings tab.

Active Since v4.0.6

Source

File: /inc/admin/views/tabs/tabs-contents/settings/debug.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/debug.php

Parameter
$args

Example:

function prefix_wp_travel_below_debug_tab_fields( $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_below_debug_tab_fields', 'prefix_wp_travel_below_debug_tab_fields’ );

Action: wp_travel_tab_content_before_email #

Fire in WP Travel admin email settings tab. Fire before email fields.

Active Since v2.0.0

Source

File: /inc/admin/views/tabs/tabs-contents/settings/email.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/email.php

Parameter
$args

Example:

function prefix_wp_travel_tab_content_before_email( $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_tab_content_before_email', 'prefix_wp_travel_tab_content_before_email’ );

Action: wp_travel_tab_content_before_booking_tamplate #

Fire in WP Travel admin email settings tab. Fire before booking email templates.

Active Since v2.0.0

Source

File: /inc/admin/views/tabs/tabs-contents/settings/email.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/email.php

Parameter
$args

Example:

function prefix_wp_travel_tab_content_before_booking_tamplate( $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_tab_content_before_booking_tamplate', 'prefix_wp_travel_tab_content_before_booking_tamplate’ );

Action: wp_travel_utils_booking_notif #

Fire in WP Travel admin email settings tab. Fire before admin booking email subject.

Source

File: /inc/admin/views/tabs/tabs-contents/settings/email.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/email.php

Example:

function prefix_wp_travel_utils_booking_notif() {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_utils_booking_notif', 'prefix_wp_travel_utils_booking_notif’ );

Action: wp_travel_utils_payment_notif #

Fire in WP Travel admin email settings tab. Fire before admin payment email subject.

Source

File: /inc/admin/views/tabs/tabs-contents/settings/email.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/email.php

Example:

function prefix_wp_travel_utils_payment_notif() {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_utils_payment_notif', 'prefix_wp_travel_utils_payment_notif’ );

Action : wp_travel_tab_content_before_trips #

Fire before WP Travel admin itinerary tab fields.

Source

File: /inc/admin/views/tabs/tabs-contents/settings/itinerary.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/itinerary.php

Parameters
$args

Example:

function prefix_wp_travel_tab_content_before_trips( $args ) {
esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( ‘wp_travel_tab_content_before_trips', 'prefix_wp_travel_tab_content_before_trips’ );

Action: wp_travel_tab_content_after_trips #

Fire after WP Travel admin itinerary tab fields.

Source

File: /inc/admin/views/tabs/tabs-contents/settings/itinerary.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/itinerary.php

Parameters
$args

Example:

function prefix_wp_travel_tab_content_after_trips( $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( ‘wp_travel_tab_content_after_trips', 'prefix_wp_travel_tab_content_after_trips’ );

Action: wp_travel_license_tab_fields #

Fire in WP Travel admin license tab.

Source

File: /inc/admin/views/tabs/tabs-contents/settings/license.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/license.php

Parameters
$args

Example:

function prefix_wp_travel_license_tab_fields( $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( ‘wp_travel_license_tab_fields', 'prefix_wp_travel_license_tab_fields’ );

Action : wp_travel_settings_tab_misc_options_fields #

Fire in WP Travel admin misc. options tab.

Source

File: /inc/admin/views/tabs/tabs-contents/settings/misc-options-global.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/misc-options-global.php

Parameters
$args

Example:

function prefix_wp_travel_settings_tab_misc_options_fields( $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( ‘wp_travel_settings_tab_misc_options_fields', 'prefix_wp_travel_settings_tab_misc_options_fields’ );

Action: wp_travel_custom_global_tabs #

Hook to support custom tabs.

Source

File: /inc/admin/views/tabs/tabs-contents/settings/tabs-global.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/tabs-global.php

Example:

function prefix_wp_travel_custom_global_tabs() {
    // Code here.
}
add_action( ‘wp_travel_custom_global_tabs', 'prefix_wp_travel_custom_global_tabs’ );

Action: wp_travel_settings_tab_faq_fields #

Fire in WP Travel admin faq tab.

Source

File: /inc/admin/views/tabs/tabs-contents/settings/utilities-faq-global.php
Used by: /inc/admin/views/tabs/tabs-contents/settings/utilities-faq-global.php

Parameters
$args

Example:

function prefix_wp_travel_settings_tab_faq_fields( $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( ‘wp_travel_settings_tab_faq_fields', 'prefix_wp_travel_settings_tab_faq_fields’ );