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

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

add_filter( 'woocommerce_get_price_suffix', 'wp_kama_woocommerce_get_price_suffix_filter', 10, 4 );

/**
 * Function for `woocommerce_get_price_suffix` filter-hook.
 * 
 * @param  $html  
 * @param  $that  
 * @param  $price 
 * @param  $qty   
 *
 * @return 
 */
function wp_kama_woocommerce_get_price_suffix_filter( $html, $that, $price, $qty ){

	// filter...
	return $html;
}
$html
-
$that
-
$price
-
$qty
-

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

WC_Product::get_price_suffix()
woocommerce_get_price_suffix
WC_Product_Variable::get_price_suffix()
woocommerce_get_price_suffix
woocommerce/includes/abstracts/abstract-wc-product.php 2112
return apply_filters( 'woocommerce_get_price_suffix', $html, $this, $price, $qty );
woocommerce/includes/class-wc-product-variable.php 202
return apply_filters( 'woocommerce_get_price_suffix', '', $this, $price, $qty );

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

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