Recently Viewed Cookie causing cache bypass – how to disable
-
How I disable the woocommerce_recently_viewed cookie?
I added the below code to my functions.php but it is not working.
// disable setting of woocommerce_recently_viewed cookie for easier caching
remove_action( ‘template_redirect’, ‘wc_track_product_view’, 20 );Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Recently Viewed Cookie causing cache bypass – how to disable’ is closed to new replies.