woocommerce_price_filter_widget_step filter-hookWC 1.0

Round values to nearest 10 by default.

Usage

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
-

Where the hook is called

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 );

Where the hook is used in WooCommerce

Usage not found.