WordPress at Your Fingertips
filter is not described

strict_redirect_guess_404_permalink filter-hook . WP 5.5.0

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.

Usage

add_filter( 'strict_redirect_guess_404_permalink', 'filter_function_name_9489' );
function filter_function_name_9489( $strict_guess ){
	// filter...

	return $strict_guess;
}
$strict_guess(true|false)
Whether to perform a strict guess.
Default: false (loose guess)

Changelog

Since 5.5.0 Introduced.

Where the hook is called

redirect_guess_404_permalink()
strict_redirect_guess_404_permalink
wp-includes/canonical.php 924
$strict_guess = apply_filters( 'strict_redirect_guess_404_permalink', false );

Where in WP core the hook is used WordPress

Usage not found.