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



allowed_redirect_hosts › Filtr WordPress Hooks

Od2.3.0
Przestarzałyn/a
› apply_filters( 'allowed_redirect_hosts', array( $wpp['host'] )
Parametry: (2)
  • () hosts An array of allowed host names.
    Wymagane: Tak
  • () host The host name of the redirect destination; empty string if not set.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the list of allowed hosts to redirect to.





Źródło

$allowed_hosts = (array) apply_filters( 'allowed_redirect_hosts', array( $wpp['host'] ), $lp['host'] ?? '' );