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

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

add_filter( 'woocommerce_get_price_html_from_to', 'wp_kama_woocommerce_get_price_html_from_to_filter', 10, 4 );

/**
 * Function for `woocommerce_get_price_html_from_to` filter-hook.
 * 
 * @param  $wc_format_sale_price 
 * @param  $from                 
 * @param  $to                   
 * @param  $that                 
 *
 * @return 
 */
function wp_kama_woocommerce_get_price_html_from_to_filter( $wc_format_sale_price, $from, $to, $that ){

	// filter...
	return $wc_format_sale_price;
}
$wc_format_sale_price
-
$from
-
$to
-
$that
-

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

WC_Abstract_Legacy_Product::get_price_html_from_to()
woocommerce_get_price_html_from_to
woocommerce/includes/legacy/abstract-wc-legacy-product.php 300
return apply_filters( 'woocommerce_get_price_html_from_to', wc_format_sale_price( $from, $to ), $from, $to, $this );

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

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