send_site_admin_email_change_email

FILTER wp-includes\functions.php (ligne 8160) github
Filters whether to send the site admin email change notification email.

Paramètres

Entrée :
$send, $old_email, $new_email
Sortie :
@param bool   $send      Whether to send the email notification.
@param string $old_email The old site admin email address.
@param string $new_email The new site admin email address.

Utilisation

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

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

Actualités

Chargement des actualités...