Action Hooks Associated With Date

Action: wp_travel_after_end_date #

Fire after WP Travel trip admin end date.

Active Since v3.0.7

Source

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

Parameter
$args

Example:

function prefix_wp_travel_after_end_date( $args ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_after_end_date', 'prefix_wp_travel_after_end_date’ );

Action: wp_travel_price_tab_after_multiple_date #

Fire after WP Travel trip admin select a date button.

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, $date_key

Example:

function prefix_wp_travel_price_tab_after_multiple_date( $post_id, $date_key ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_price_tab_after_multiple_date', 'prefix_wp_travel_price_tab_after_multiple_date’ );

Action: wp_travel_price_tab_after_multiple_date_template #

Fire after WP Travel trip admin select a date button repeater.

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

Example:

function prefix_wp_travel_price_tab_after_multiple_date_template( $post_id ) {
    esc_html_e( ‘This is content added using this hook’, ‘text-domain’ );
}
add_action( 'wp_travel_price_tab_after_multiple_date_template', 'prefix_wp_travel_price_tab_after_multiple_date_template’ );