woocommerce_format_price_range хук-фильтр . WC 1.0
translators: 1: price from 2: price to
Использование
add_filter( 'woocommerce_format_price_range', 'filter_function_name_1768', 10, 3 ); function filter_function_name_1768( $price, $from, $to ){ // filter... return $price; }
- $price
- -
- $from
- -
- $to
- -
Где вызывается хук
woocommerce_format_price_range
woocommerce/includes/wc-formatting-functions.php 1257
return apply_filters( 'woocommerce_format_price_range', $price, $from, $to );