Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Action Hooks Associated With Cart Page
  5. Action :wp_travel_multiple_time_cart_page

Action :wp_travel_multiple_time_cart_page

Hook to support multiple times in cart.

Active Since v3.0.8

Source

File: /templates/content-cart.php
Used by: /templates/content-cart.php

Parameters
$trip, $trip_id, $price_key, $trip[‘arrival_date’]

Example:

function prefix_wp_travel_multiple_time_cart_page( $trip, $trip_id, $price_key, $trip['arrival_date'] ) {
         // Code here.
}
add_action( ‘wp_travel_multiple_time_cart_page', 'prefix_wp_travel_multiple_time_cart_page’ );
Was this article helpful to you? Yes No

How can we help?