woocommerce_format_price_range хук-фильтрWC 1.0

Использование

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
-

Где вызывается хук

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

Где используется хук в WooCommerce

Использование не найдено.