retrieve_password_notification_email

FILTER wp-includes\user.php (ligne 3412) github
Filters the contents of the reset password notification email sent to the user.

Paramètres

Entrée :
$defaults, $key, $user_login, $user_data
Sortie :
@param array $defaults {
@param string  $key        The activation key.
@param string  $user_login The username for the user.
@param WP_User $user_data  WP_User object.

Utilisation

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

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

Actualités

Chargement des actualités...