Search Documentation

WP Travel Developer Documentation

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

Action :wp_travel_action_before_checkout_field

Fire in the WP Travel checkout before checkout fields.

Source

File: /inc/cart/checkout.php
Used by: /inc/cart/checkout.php

Example:

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

How can we help?