blog_redirect_404

blog_redirect_404

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('blog_redirect_404') is found 1 times:

  • /wp-includes/ms-functions.php line 2148
    		 * @since 3.0.0
    		 *
    		 * @param string $no_blog_redirect The redirect URL defined in NOBLOGREDIRECT.
    		 */
    		$destination = apply_filters( 'blog_redirect_404', NOBLOGREDIRECT );
    
    		if ( $destination ) {
    			if ( '%siteurl%' === $destination ) {
    				$destination = network_home_url();
    			}