strict_redirect_guess_404_permalink

Advertisement

Summery Summery

Filters whether to perform a strict guess for a 404 redirect.

Syntax Syntax

apply_filters( 'strict_redirect_guess_404_permalink', bool $strict_guess )

Description Description

Returning a truthy value from the filter will redirect only exact post_name matches.

Parameters Parameters

$strict_guess

Whether to perform a strict guess. Default false (loose guess).

Source Source

File: wp-includes/canonical.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Advertisement

Leave a Reply