wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



strict_redirect_guess_404_permalink › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
› apply_filters( 'strict_redirect_guess_404_permalink', false )
Parametry:
  • () strict_guess Whether to perform a strict guess. Default false (loose guess).
    Wymagane: Tak
Zdefiniowane na:
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.




Źródło

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