Thank you, I notice when someone orders, clear_cache_after_woocommerce_update_product is also triggering (maybe unique to my plugins) – I still want cache to clear when admins update a product, but not when someone orders. hmm.
You’re welcome π If you vote, it would make me so happy.
https://ww.wp.xz.cn/support/plugin/wp-fastest-cache/reviews/
sure but any way to make it not clear cache with that additional event? clear_cache_after_woocommerce_update_product
when you update the price, the cache is cleared. did you test it?
That’s fine, but is it possible to disable clear cache on clear_cache_after_woocommerce_update_product? this is different to order_status_changed, but seems to trigger when a purchase is made.
when a purchase is made, the cache of product is cleared. if you want to disable this action, you need to add the line into the wp-config.php file.
Hey, these are different events, the first one i asked about is clear_cache_after_woocommerce_order_status_changed, this is resolved, using the line in wp-config.
But now i am additionally seeing cache clears for different event clear_cache_after_woocommerce_update_product
ow I am so sorry π
You cannot disable it because of the stock status. Sometimes, even though the stock is out, the product is still on sale because the cache is not deleted, and this causes a big problem.
Ah understood, ok thank you for your help.