apply_filters( ‘blog_redirect_404’, string $no_blog_redirect )

In this article

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_redirectstring
The redirect URL defined in NOBLOGREDIRECT.

Source

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

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.