woocommerce_price_filter_widget_min_amount хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_price_filter_widget_min_amount', 'filter_function_name_8666' ); function filter_function_name_8666( $floor() * $step ){ // filter... return $floor() * $step; }
- $floor() * $step
- -
Где вызывается хук
woocommerce_price_filter_widget_min_amount
woocommerce/includes/widgets/class-wc-widget-price-filter.php 107
$min_price = apply_filters( 'woocommerce_price_filter_widget_min_amount', floor( $min_price / $step ) * $step );