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



do_redirect_guess_404_permalink › WordPress Filter Hooks

Seit5.5.0
Veraltetn/v
apply_filters( 'do_redirect_guess_404_permalink', true )
Parameter:
  • (bool) $do_redirect_guess Whether to attempt to guess a redirect URL for a 404 request. Default true.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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