WordPress at Your Fingertips
filter is not described

woocommerce_get_price_html_from_to filter-hook . WC 1.0

Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. Use wc_format_sale_price instead.

Deprecated: 3.0.0 Use wc_format_sale_price instead.

Functions for getting parts of a price, in html, used by get_price_html.


add_filter( 'woocommerce_get_price_html_from_to', 'filter_function_name_6955', 10, 3 );
function filter_function_name_6955( $from, $to, $that ){
	// filter...

	return $from;
String or float to wrap with 'from' text


Deprecated Since 3.0.0 Use wc_format_sale_price instead.

Where the hook is called

woocommerce/includes/legacy/abstract-wc-legacy-product.php 300
return apply_filters( 'woocommerce_get_price_html_from_to', wc_format_sale_price( $from, $to ), $from, $to, $this );

Where in WP core the hook is used WooCommerce

Usage not found.