Read woocommerce_product_is_on_sale filter for more information.


WooCommerce – Snippets & autocomplete for VSCode editor – claudiosanches/
vscode-woocommerce.
You can use remove_filter to remove a filter, and then add your own filter to that
hook. For example: remove_filter( …
woocommerce_product_is_on_sale filter
This is simply a list of action and filter hooks found within WooCommerce files.
View the source … woocommerce_cart_item_class, filter, review-order.php, cart.
php …… woocommerce_product_is_on_sale, filter, class-wc-product-grouped.
php, …
It's possible to check if product matched to section “Product filters” and show “on
… add_filter( 'woocommerce_product_is_on_sale', function($onsale,$product) …
… apply_filters('woocommerce_product_is_on_sale'), WP_Hook->apply_filters,
call_user_func_array, WC_Dynamic_Pricing->on_get_product_is_on_sale, …
Want to modify the price range of your WooCommerce variable products? Follow
this step by step tutorial to change WooCommerce variable product price …
action_scheduler_maximum_execution_time_likely_to_be_exceeded, filter.
action_scheduler_memory_exceeded ….. woocommerce_product_is_on_sale,
filter.
I managed to filter out the ON SALE products with the code below placed just
above the if ( have_posts() ) : line… $args = array( 'post_type' …
Dev – Add 'woocommerce_composite_component_discount' filter to …… to '
woocommerce_product_is_on_sale' for consistency with core WC.
woocommerce_before_(object_type)_object_save · woocommerce_after_(
object_type)_object_save · woocommerce_product_is_on_sale.

Searches related to woocommerce_product_is_on_sale filter