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

Returns the price in html format.

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

add_filter( 'woocommerce_empty_price_html', 'wp_kama_woocommerce_empty_price_html_filter', 10, 2 );

/**
 * Function for `woocommerce_empty_price_html` filter-hook.
 * 
 * @param string $deprecated Deprecated param.
 * @param        $that       
 *
 * @return string
 */
function wp_kama_woocommerce_empty_price_html_filter( $deprecated, $that ){

	// filter...
	return $deprecated;
}
$deprecated(строка)
Deprecated param.
$that
-

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

WC_Product::get_price_html()
woocommerce_empty_price_html
woocommerce/includes/abstracts/abstract-wc-product.php 1877
$price = apply_filters( 'woocommerce_empty_price_html', '', $this );

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

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