Filters the list of allowed hosts to redirect to.
array( $wpp['host']
Sortie :
@param string[] $hosts An array of allowed host names. @param string $host The host name of the redirect destination; empty string if not set.
// Modifier la valeur avec le filtre 'allowed_redirect_hosts'
add_filter('allowed_redirect_hosts', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(array( $wpp['host']) {
// Modifier la valeur
return array( $wpp['host'];
}
Chargement des actualités...