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_add_new_category_button_repeator

Action :wp_travel_pricing_add_new_category_button_repeator

Fire in WP Travel trip admin price repeater section. Currently using to add a new category button repeater.


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


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

How can we help?