woocommerce_price()
Deprecated since 3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
No Hooks.
Returns
String.
Usage
woocommerce_price( $price, $args );
- $price(required)
- .
- $args
- .
Default:array()
Changelog
| Deprecated since | 3.0 |
woocommerce_price() woocommerce price code WC 10.6.2
function woocommerce_price( $price, $args = array() ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_price' );
return wc_price( $price, $args );
}