wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



strict_redirect_guess_404_permalink › WordPress Filter Hooks

Seit5.5.0
Veraltetn/v
apply_filters( 'strict_redirect_guess_404_permalink', false )
Parameter:
  • (bool) $strict_guess Whether to perform a strict guess. Default false (loose guess).
    Erforderlich: Ja
Definiert in:
Codex:

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.





Quellcode

$strict_guess = apply_filters( 'strict_redirect_guess_404_permalink', false );