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.2

apply_filters('do_redirect_guess_404_permalink') is found 1 times:

  • /wp-includes/canonical.php line 932
    928
    929
    930
    931
    932
    933
    934
    935
    936
    937
    938
    *
     * @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.
     *