wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



allowed_redirect_hosts › WordPress Filter Hooks

Da2.3.0
Deprecaton/a
apply_filters( 'allowed_redirect_hosts', array( $wpp['host'] )
Parametri: (2)
  • (string[]) $hosts An array of allowed host names.
    Richiesto:
  • (string) $host The host name of the redirect destination; empty string if not set.
    Richiesto:
Definito a:
Codex:

Filters the list of allowed hosts to redirect to.





Sorgenti

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