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 on Trac

Changelog

Version Description
3.0.0 Introduced.

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