woocommerce_format_price_range filter-hookWC 1.0

translators: 1: price from 2: price to

Usage

add_filter( 'woocommerce_format_price_range', 'wp_kama_woocommerce_format_price_range_filter', 10, 3 );

/**
 * Function for `woocommerce_format_price_range` filter-hook.
 * 
 * @param  $price 
 * @param  $from  
 * @param  $to    
 *
 * @return 
 */
function wp_kama_woocommerce_format_price_range_filter( $price, $from, $to ){

	// filter...
	return $price;
}
$price
-
$from
-
$to
-

Where the hook is called

wc_format_price_range()
woocommerce_format_price_range
woocommerce/includes/wc-formatting-functions.php 1289
return apply_filters( 'woocommerce_format_price_range', $price, $from, $to );

Where the hook is used in WooCommerce

Usage not found.