Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Action Hooks
  5. Action :wp_travel_booking_before_form_field

Action :wp_travel_booking_before_form_field

Fires before checkout booking form field.

Source

File: /inc/booking-functions.php
Used by: /inc/booking-functions.php

Example:

function prefix_wp_travel_booking_before_form_field() {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_booking_before_form_field', 'prefix_wp_travel_booking_before_form_field'  );
Was this article helpful to you? Yes No

How can we help?