wp_auth_check_same_domain

FILTER wp-includes\functions.php (ligne 7477) github
Filters whether the authentication check originated at the same domain.

Paramètres

Entrée :
$same_domain
Sortie :
@param bool $same_domain Whether the authentication check originated at the same domain.

Utilisation

// Modifier la valeur avec le filtre 'wp_auth_check_same_domain'
add_filter('wp_auth_check_same_domain', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($same_domain) {
    // Modifier la valeur
    return $same_domain;
}

Actualités

Chargement des actualités...