Filters the redirect URL for 404s on the main site.
The filter is only evaluated if the NOBLOGREDIRECT constant is defined.
$no_blog_redirectstring
$destination = apply_filters( 'blog_redirect_404', NOBLOGREDIRECT );
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/blog_redirect_404