do_redirect_guess_404_permalink

do_redirect_guess_404_permalink

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('do_redirect_guess_404_permalink') is found 1 times:

  • /wp-includes/canonical.php line 932
    	 *
    	 * @param bool $do_redirect_guess Whether to attempt to guess a redirect URL
    	 *                                for a 404 request. Default true.
    	 */
    	if ( false === apply_filters( 'do_redirect_guess_404_permalink', true ) ) {
    		return false;
    	}
    
    	/**
    	 * Short-circuits the redirect URL guessing for 404 requests.
    	 *