wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



allowed_redirect_hosts › Les Filtres WordPress

Depuis2.3.0
Dépréciéen/a
apply_filters( 'allowed_redirect_hosts', array( $wpp['host'] )
Paramètres: (2)
  • (string[]) $hosts An array of allowed host names.
    Requis: Oui
  • (string) $host The host name of the redirect destination; empty string if not set.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the list of allowed hosts to redirect to.





Source

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