WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about strict_redirect_guess_404_permalink

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/canonical.php apply_filters 932 /**
* Filters whether to perform a strict guess for a 404 redirect.
*
* Returning a truthy value from the filter will redirect only exact post_name matches.
*
* @since 5.5.0
*
* @param bool $strict_guess Whether to perform a strict guess. Default false (loose guess).
*/

Hook Parameters

Parameter Type Name Description
bool $strict_guess Whether to perform a strict guess. Default false (loose guess).