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

Round values to nearest 10 by default.

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

add_filter( 'woocommerce_price_filter_widget_step', 'wp_kama_woocommerce_price_filter_widget_step_filter' );

/**
 * Function for `woocommerce_price_filter_widget_step` filter-hook.
 * 
 * @param  $10 
 *
 * @return 
 */
function wp_kama_woocommerce_price_filter_widget_step_filter( $10 ){

	// filter...
	return $10;
}
$10
-

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

WC_Widget_Price_Filter::widget()
woocommerce_price_filter_widget_step
woocommerce/includes/widgets/class-wc-widget-price-filter.php 87
$step = max( apply_filters( 'woocommerce_price_filter_widget_step', 10 ), 1 );

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

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