Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Single Itinerary Page
  5. Filter :wp_travel_multiple_currency

Filter :wp_travel_multiple_currency

Support for multiple currencies.

Source

File: /core/helpers/trip-extras.php
Used by: /core/helpers/trip-extras.php, /core/helpers/trip-pricing-categories.php

Parameters
$price

Example:

function prefix_wp_travel_multiple_currency( $price ) {
    $price = ( $price * 1.6 );
    return $price;
}
add_filter( 'wp_travel_multiple_currency', 'prefix_wp_travel_multiple_currency' );
Was this article helpful to you? Yes No

How can we help?