Created
January 20, 2025 14:40
-
-
Save wp-seopress/5ad36dfcd37242d3f5b91ec7acddc1c4 to your computer and use it in GitHub Desktop.
Filter the XML sitemap alert arguments
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
add_filter('seopress_seo_alerts_sitemap_args', 'sp_seo_alerts_sitemap_args'); | |
function sp_seo_alerts_sitemap_args($args) { | |
// default args | |
$args = [ | |
'blocking' => true, | |
'timeout' => 10, | |
'redirection' => 1, | |
]; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment