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

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

add_filter( 'woocommerce_price_filter_widget_max_amount', 'wp_kama_woocommerce_price_filter_widget_max_amount_filter' );

/**
 * Function for `woocommerce_price_filter_widget_max_amount` filter-hook.
 * 
 * @param  $ceil() * $step 
 *
 * @return 
 */
function wp_kama_woocommerce_price_filter_widget_max_amount_filter( $ceil() * $step ){

	// filter...
	return $ceil() * $step;
}
$ceil() * $step
-

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

WC_Widget_Price_Filter::widget()
woocommerce_price_filter_widget_max_amount
woocommerce/includes/widgets/class-wc-widget-price-filter.php 108
$max_price = apply_filters( 'woocommerce_price_filter_widget_max_amount', ceil( $max_price / $step ) * $step );

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

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