woocommerce_price_format хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_price_format', 'filter_function_name_2762', 10, 2 ); function filter_function_name_2762( $format, $currency_pos ){ // filter... return $format; }
- $format
- -
- $currency_pos
- -
Где вызывается хук
woocommerce_price_format
woocommerce/includes/wc-formatting-functions.php 504
return apply_filters( 'woocommerce_price_format', $format, $currency_pos );