WordPress at Your Fingertips
filter is not described

woocommerce_product_is_on_sale filter-hook . WC 1.0

Usage

add_filter( 'woocommerce_product_is_on_sale', 'filter_function_name_5112', 10, 2 );
function filter_function_name_5112( $on_sale, $that ){
	// filter...

	return $on_sale;
}
$on_sale
-
$that
-

Where the hook is called

WC_Product::is_on_sale()
woocommerce_product_is_on_sale
WC_Product_Grouped::is_on_sale()
woocommerce_product_is_on_sale
WC_Product_Variable::is_on_sale()
woocommerce_product_is_on_sale
woocommerce/includes/abstracts/abstract-wc-product.php 1598
return 'view' === $context ? apply_filters( 'woocommerce_product_is_on_sale', $on_sale, $this ) : $on_sale;
woocommerce/includes/class-wc-product-grouped.php 73
return 'view' === $context ? apply_filters( 'woocommerce_product_is_on_sale', $on_sale, $this ) : $on_sale;
woocommerce/includes/class-wc-product-variable.php 495
return 'view' === $context ? apply_filters( 'woocommerce_product_is_on_sale', $on_sale, $this ) : $on_sale;

Where in WP core the hook is used WooCommerce

Usage not found.