wc_get_price_html_from_text()

Returns a ‘from’ prefix if you want to show where prices start at.


Description Description


Return Return

(string)


Top ↑

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>' );
}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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