user_request_action_email_content

FILTER wp-includes\user.php (ligne 4936) github
Filters the text of the email sent when an account action is attempted. The following strings have a special meaning and will get replaced dynamically:  - `###DESCRIPTION###` Description of the action being performed so the user knows what the email is for.  - `###CONFIRM_URL###` The link to click on to confirm the account action.  - `###SITENAME###`    The name of the site.  - `###SITEURL###`     The URL to the site.

Paramètres

Entrée :
$content, $email_data
Sortie :
@param string $content Text in the email.
@param array  $email_data {

Utilisation

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

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

Actualités

Chargement des actualités...