Instantly share code, notes, and snippets.

Embed
What would you like to do?
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