apply_filters( 'wc_price', string $return, string $price, array $args, float $unformatted_price, float|string $original_price )

Filters the string of price markup.


Description Description


Parameters Parameters

$return

Price HTML markup.

$price

Formatted price.

$args

Pass on the args.

$unformatted_price

Price as float to allow plugins custom formatting. Since 3.2.0.

$original_price

Original price as float, or empty string. Since 5.0.0.


Top ↑

Source Source

File: includes/wc-formatting-functions.php



Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.