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



redirect_canonical › Filtr WordPress Hooks

Od2.3.0
Przestarzałyn/a
› apply_filters( 'redirect_canonical', $redirect_url, $requested_url )
Parametry: (2)
  • () redirect_url The redirect URL.
    Wymagane: Tak
  • () requested_url The requested URL.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the canonical redirect URL.

Returning false to this filter will cancel the redirect.




Źródło

$redirect_url = apply_filters( 'redirect_canonical', $redirect_url, $requested_url );