apply_filters( 'formatted_woocommerce_price', float $formatted_price, float $price, int $decimals, string $decimal_separator, string $thousand_separator, float|string $original_price )

Filter formatted price.


Description Description


Parameters Parameters

$formatted_price

Formatted price.

$price

Unformatted price.

$decimals

Number of decimals.

$decimal_separator

Decimal separator.

$thousand_separator

Thousand separator.

$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.