wc_get_price_html_from_text()
Returns a ‘from’ prefix if you want to show where prices start at.
Description Description
Return Return
(string)
Source Source
File: includes/wc-template-functions.php
function wc_get_price_html_from_text() {
return apply_filters( 'woocommerce_get_price_html_from_text', '<span class="from">' . _x( 'From:', 'min_price', 'woocommerce' ) . ' </span>' );
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |