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  $string 
 * @param  $that   
 * @param  $price  
 * @param  $qty    
 *
 * @return 
 */
function wp_kama_woocommerce_get_price_suffix_filter( $string, $that, $price, $qty ){

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

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

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

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

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