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_category

Action :wp_travel_pricing_option_content_after_category

Fire in WP Travel trip admin price section after category.


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

$post_id, $pricing_id, $category_id, $category


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

How can we help?