Created
July 13, 2016 15:09
-
-
Save Zodiac1978/5c95a4f70daa73171e4462bbe817759b to your computer and use it in GitHub Desktop.
Filter für das WordPress Caching-Plugin Cachify: Steuerung der Cache-Generierung. cachify_skip_cache = true verhindert die Cache-Bildung für die aufgerufene Blogseite. Für PHP 5.3.
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
<?php | |
add_filter( | |
'cachify_skip_cache', | |
function() { | |
return ( | |
in_category('fruit') ? true : false | |
); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment