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

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

add_filter( 'woocommerce_price_format', 'wp_kama_woocommerce_price_format_filter', 10, 2 );

/**
 * Function for `woocommerce_price_format` filter-hook.
 * 
 * @param  $format       
 * @param  $currency_pos 
 *
 * @return 
 */
function wp_kama_woocommerce_price_format_filter( $format, $currency_pos ){

	// filter...
	return $format;
}
$format
-
$currency_pos
-

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

get_woocommerce_price_format()
woocommerce_price_format
woocommerce/includes/wc-formatting-functions.php 506
return apply_filters( 'woocommerce_price_format', $format, $currency_pos );

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

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