Search Documentation

WP Travel Developer Documentation

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

Action :wp_travel_booking_after_select_button

Fires after single itinerary select button.

Active Since v1.9.3

Source

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

Parameters
$trip_id, $pricing[‘price_key’]

Example:

function prefix_wp_travel_booking_after_select_button( $trip_id, $pricing['price_key'] ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_booking_after_select_button', 'prefix_wp_travel_booking_after_select_button'  );
Was this article helpful to you? Yes No

How can we help?