woocommerce_get_price_html filter-hookWC 1.0

Usage

add_filter( 'woocommerce_get_price_html', 'wp_kama_woocommerce_get_price_html_filter', 10, 2 );

/**
 * Function for `woocommerce_get_price_html` filter-hook.
 * 
 * @param  $price 
 * @param  $that  
 *
 * @return 
 */
function wp_kama_woocommerce_get_price_html_filter( $price, $that ){

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

Where the hook is called

WC_Product::get_price_html()
woocommerce_get_price_html
WC_Product_Variable::get_price_html()
woocommerce_get_price_html
WC_Product_Grouped::get_price_html()
woocommerce_get_price_html
woocommerce/includes/abstracts/abstract-wc-product.php 1884
return apply_filters( 'woocommerce_get_price_html', $price, $this );
woocommerce/includes/class-wc-product-variable.php 184
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 );

Where the hook is used in WooCommerce

Usage not found.