Skip to content

Instantly share code, notes, and snippets.

@jawinn
Last active October 9, 2018 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jawinn/e1d95bbf1941f34efdd0 to your computer and use it in GitHub Desktop.
Save jawinn/e1d95bbf1941f34efdd0 to your computer and use it in GitHub Desktop.
Disable Yoast's Automatic XML Sitemap Pinging
<?php
// DISABLE YOAST's AUTOMATIC PINGING OF XML SITEMAP
add_filter('wpseo_allow_xml_sitemap_ping', '__return_false');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment