MainWP Community

Disable no-cache headers in WooCommerce 4.4.0

Disable no-cache headers if using WooCommerce (4.4.0) on your child site.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'woocommerce_enable_nocache_headers', '__return_false' );
1 Like