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_email

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

How can we help?