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



do_redirect_guess_404_permalink › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
apply_filters( 'do_redirect_guess_404_permalink', true )
Parametry:
  • (bool) $do_redirect_guess Whether to attempt to guess a redirect URL for a 404 request. Default true.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters whether to attempt to guess a redirect URL for a 404 request.

Returning a false value from the filter will disable the URL guessing and return early without performing a redirect.





Źródło

if ( false === apply_filters( 'do_redirect_guess_404_permalink', true ) ) {