Created
January 20, 2025 14:12
-
-
Save wp-seopress/e2242037d56e110f307794afd541fa56 to your computer and use it in GitHub Desktop.
Filter the homepage 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_homepage_args', 'sp_seo_alerts_homepage_args'); | |
function sp_seo_alerts_homepage_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