woocommerce_get_price_html хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_get_price_html', 'filter_function_name_3419', 10, 2 ); function filter_function_name_3419( $price, $that ){ // filter... return $price; }
- $price
- -
- $that
- -
Где вызывается хук
woocommerce_get_price_html
woocommerce_get_price_html
woocommerce/includes/abstracts/abstract-wc-product.php 1803
return apply_filters( 'woocommerce_get_price_html', $price, $this );
woocommerce/includes/class-wc-product-grouped.php 128
return apply_filters( 'woocommerce_get_price_html', $price, $this );
woocommerce/includes/class-wc-product-variable.php 170
return apply_filters( 'woocommerce_get_price_html', $price, $this );