WordPress at a glance
filter is not described

blog_redirect_404 filter-hook . WP 3.0.0

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

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


add_filter( 'blog_redirect_404', 'filter_function_name_4613' );
function filter_function_name_4613( $no_blog_redirect ){
	// filter...

	return $no_blog_redirect;
The redirect URL defined in NOBLOGREDIRECT.

Where the hook is called

wp-includes/ms-functions.php 2036
if ( is_main_site() && is_404() && defined( 'NOBLOGREDIRECT' ) && ( $destination = apply_filters( 'blog_redirect_404', NOBLOGREDIRECT ) ) ) {

Where the hook is used (in WP core)

Использование не найдено.