Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Action Hooks Associated With Tab
  5. Action :wp_travel_tab_content_before_booking_tamplate

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


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



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’ );
Was this article helpful to you? Yes No

How can we help?