Programmatically disable W3 Total Cache in development environment
I've got two environments in my project: dev production. I just want to be able to deactivate or disable W3TC in my dev environment but the plugin has no native support for this . I also can't find a deactivate hook that works with the plugin and setting define('WP_CACHE', false);
based on HTTP_HOST
seems to be bypassed in wp-config.php
.
So surely this has come up before for people - what is the solution?
Topic deactivated-plugin plugin-w3-total-cache Wordpress
Category Web