Last active
March 21, 2020 23:33
-
-
Save carl-alberto/32dfb84d2aa485430ae7a1b848767309 to your computer and use it in GitHub Desktop.
Fully disable WP_CACHE persistent true value for WP-Rocket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// You can add this to a custom plugin or your theme's functions.php | |
function set_rocket_wp_cache_define_false( $turn_it_on ) { | |
return 'false'; | |
} | |
add_filter('set_rocket_wp_cache_define', 'set_rocket_wp_cache_define_false'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment