-
-
Save blueprintmrk/07baca704c0ac9bc690211d927fd6454 to your computer and use it in GitHub Desktop.
Disable WordPress SEO transient caching
This file contains hidden or 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 | |
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/ | |
/** | |
* Disables the XML Sitemap transient caching in WordPress SEO and WordPress SEO Premium. | |
* WARNING: This may lead to a heavier load on your server and your sitemaps being loaded less fast. | |
*/ | |
add_filter( 'wpseo_enable_xml_sitemap_transient_caching', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment