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



pre_redirect_guess_404_permalink › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
apply_filters( 'pre_redirect_guess_404_permalink', null )
Parametry:
  • (null|string|false) $pre Whether to short-circuit guessing the redirect for a 404. Default null to continue with the URL guessing.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Short-circuits the redirect URL guessing for 404 requests.

Returning a non-null value from the filter will effectively short-circuit the URL guessing, returning the passed value instead.





Źródło

$pre = apply_filters( 'pre_redirect_guess_404_permalink', null );