Created
March 22, 2018 09:54
-
-
Save gareth-gillman/c9a28a12040573f89f5ca8c6cb808a04 to your computer and use it in GitHub Desktop.
Yoast SEO change number of sitemap indexes
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
function max_entries_per_sitemap() { | |
return 5000; | |
} | |
add_filter( 'wpseo_sitemap_entries_per_page', 'max_entries_per_sitemap' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment