Search Documentation

WP Travel Developer Documentation

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

Action :wp_travel_pricing_option_content_after_trip_extra

Fire in WP Travel trip admin price section after trip extra.

Active Since v1.9.2

Source

File: /inc/admin/views/tabs/tabs-contents/itineraries/price.php
Used by: /inc/admin/views/tabs/tabs-contents/itineraries/price.php

Parameter
$post_id, $pricing_id, $pricing

Example:

function prefix_wp_travel_pricing_option_content_after_trip_extra( $post_id, $pricing_id, $pricing ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_pricing_option_content_after_trip_extra', 'prefix_wp_travel_pricing_option_content_after_trip_extra’ );
Was this article helpful to you? Yes No

How can we help?