WordPress at a glance
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_265' );
function filter_function_name_265( $strict_guess ){
	// filter...

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

Список изменений

С версии 5.5.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WP

Использование не найдено.