Whenever you change the cache on/off in your plugin then the WP_CACHE constant is being set in wp-config.php
What I would like to achieve is to suppress that behavior. I would like to force the cache to be turned off for particular environments like local or development server but have it turned on for staging/production environments.
In order to achieve that I would need just a filter which would disable automatic WP_CACHE setting in “toggleCaching” function- or other possibility to disable plugin based on code conditions.
Otherwise I would have to remove your plugin from our projects even though it works very well.
- The topic ‘FIlter for advanced configuration’ is closed to new replies.