Filters the contents of the email sent when an existing user is invited to join the site.
$new_user_email, $user_id, $role, $newuser_key
Sortie :
@param array $new_user_email {
@param int $user_id The invited user's ID.
@param array $role Array containing role information for the invited user.
@param string $newuser_key The key of the invitation.
// Modifier la valeur avec le filtre 'invited_user_email'
add_filter('invited_user_email', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($new_user_email) {
// Modifier la valeur
return $new_user_email;
}
Chargement des actualités...