Created
May 14, 2025 12:03
-
-
Save wp-seopress/04d2b5d5bde1f801f3b62f6baa40de8f to your computer and use it in GitHub Desktop.
Run action after a 404 error is inserted
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_action('seopress_after_create_404', 'sp_after_create_404'); | |
function sp_after_create_404($id) { | |
//do your stuff here | |
return $something; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment