Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Filters Associated With Cart Page
  5. Filter :wp_travel_cart_mini_custom_partial_value

Filter :wp_travel_cart_mini_custom_partial_value

Custom partial value on mini cart.

Source

File: /inc/cart/cart-mini.php
Used by: /inc/cart/cart-mini.php

Parameters
$args

Example:

function prefix_wp_travel_cart_mini_custom_partial_value( $args ) {
    $args[‘price_partial’] = 200;
    return $args;
}
add_filter( 'wp_travel_cart_mini_custom_partial_value', 'prefix_wp_travel_cart_mini_custom_partial_value' );
Was this article helpful to you? Yes No

How can we help?