Action Hooks Associated With Settings

Action: wp_travel_before_admin_setting_form #

Fire before WP Travel admin setting form.

Source

File: /inc/class-admin-settings.php
Used by: /inc/class-admin-metaboxes.php, /inc/class-network-settings.php

Example:

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

Action: wp_travel_after_admin_setting_form #

Fire after WP Travel admin setting form.

Source

File: /inc/class-admin-settings.php
Used by: /inc/class-admin-metaboxes.php, /inc/class-network-settings.php

Example:

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

Action: wp_travel_utils_itinerary_global_faq_settings #

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

Active Since v2.0.0

Source

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

Example:

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

Action: wp_travel_multiple_booking_admin_template_settings #

Fire in WP Travel admin email settings tab. Fire before client email template options.

Source

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

Parameter
$booking_admin_email_settings

Example:

function prefix_wp_travel_multiple_booking_admin_template_settings( $booking_admin_email_settings ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_multiple_booking_admin_template_settings', 'prefix_wp_travel_multiple_booking_admin_template_settings’ );

Action: wp_travel_multiple_booking_client_template #

Fire in WP Travel admin email settings tab. Fire before payment email template options.

Source

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

Parameter
$booking_client_email_settings

Example:

function prefix_wp_travel_multiple_booking_client_template( $booking_client_email_settings ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_multiple_booking_client_template', 'prefix_wp_travel_multiple_booking_client_template’ );

Action: wp_travel_multiple_payment_admin_template #

Fire in WP Travel admin email settings tab. Fire before payment client email template options.

Source

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

Parameter
$payment_admin_email_settings

Example:

function prefix_wp_travel_multiple_payment_admin_template( $payment_admin_email_settings ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_multiple_payment_admin_template', 'prefix_wp_travel_multiple_payment_admin_template’ );

Action: wp_travel_multiple_payment_client_template #

Fire in WP Travel admin email settings tab. Fire after payment client email template options.

Source

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

Parameter
$payment_client_email_settings

Example:

function prefix_wp_travel_multiple_payment_client_template( $payment_client_email_settings ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_multiple_payment_client_template', 'prefix_wp_travel_multiple_payment_client_template’ );

Action: wp_travel_settings_tab_field_editor_fields #

Fire in WP Travel admin field editor settings tab.

Source

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

Parameters
$args

Example:

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

Action: wp_travel_settings_after_currency #

Fire before WP Travel admin google map api key field in general tab.

Source

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

Parameters
$tab, $args

Example:

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

Action: wp_travel_after_page_settings #

Fire after WP Travel admin dashboard page option in general tab.

Active Since v1.8.0

Source

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

Parameters
$tab, $args

Example:

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