WordPress at a glance
filter is not described

wc_price filter-hook . WC 1.0

Filters the string of price markup.


add_filter( 'wc_price', 'filter_function_name_6691', 10, 5 );
function filter_function_name_6691( $return, $price, $args, $unformatted_price, $original_price ){
	// filter...

	return $return;
Price HTML markup.
Formatted price.
Pass on the args.
Price as float to allow plugins custom formatting. Since 3.2.0.
Original price as float, or empty string. Since 5.0.0.

Where the hook is called

woocommerce/includes/wc-formatting-functions.php 625
return apply_filters( 'wc_price', $return, $price, $args, $unformatted_price, $original_price );

Where in WP core the hook is used WooCommerce

Usage not found.