Inverse logic: How to disable a plugin on everything, except for some pages?
-
First, thanks for your great plugin. I’m looking to disable WooCommerce by default on everything, then only activate it for certain page types that need it, such as:
- Checkout
- Cart
- My Account
- Products
- Any backend processing (stripe and paypal webhooks, checkout and account endpoinds, wp-json, etc)
The reason is that it’s bloated and loading numerous scripts and CSS on every page. Trying to do a cleanup is too complicated. I’d rather use your plugin.
Is there a way to use your plugin to make WooCommerce only load for those pages? Without causing webhooks, endpoints, and wp-json to fail? Sort of an inverse approach?
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.