send_network_admin_email_change_email

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

Paramètres

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

Utilisation

// Modifier la valeur avec le filtre 'send_network_admin_email_change_email'
add_filter('send_network_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...