wordpress / latest / hooks / blog_redirect_404.html

apply_filters( 'blog_redirect_404', string $no_blog_redirect )

Filters the redirect URL for 404s on the main site.

Description

The filter is only evaluated if the NOBLOGREDIRECT constant is defined.

Parameters

$no_blog_redirect string
The redirect URL defined in NOBLOGREDIRECT.

Source

File: wp-includes/ms-functions.php. View all references

$destination = apply_filters( 'blog_redirect_404', NOBLOGREDIRECT );

Used By

Used By Description

Changelog

Version Description
3.0.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/blog_redirect_404