Last active
August 11, 2020 22:10
-
-
Save thetwopct/415987cf93bbfadf1710c9eaf70769f7 to your computer and use it in GitHub Desktop.
Disable Sitemap in WordPress (5.5+)
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 | |
// Disable Sitemap - WordPress (5.5+) | |
add_filter('wp_sitemaps_enabled', '__return_false'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment