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

Adjust if the store taxes are not displayed how they are stored. Kicks in when prices excluding tax are displayed including tax.

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

add_filter( 'woocommerce_price_filter_widget_tax_class', 'wp_kama_woocommerce_price_filter_widget_tax_class_filter' );

/**
 * Function for `woocommerce_price_filter_widget_tax_class` filter-hook.
 * 
 * @param  $string 
 *
 * @return 
 */
function wp_kama_woocommerce_price_filter_widget_tax_class_filter( $string ){

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

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

WC_Query::price_filter_post_clauses()
woocommerce_price_filter_widget_tax_class
WC_Widget_Price_Filter::widget()
woocommerce_price_filter_widget_tax_class
woocommerce/includes/class-wc-query.php 653
$tax_class = apply_filters( 'woocommerce_price_filter_widget_tax_class', '' ); // Uses standard tax class.
woocommerce/includes/widgets/class-wc-widget-price-filter.php 98
$tax_class = apply_filters( 'woocommerce_price_filter_widget_tax_class', '' ); // Uses standard tax class.

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

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