wp_privacy_personal_data_email_content

FILTER wp-admin\includes\privacy-tools.php (ligne 705) github
Filters the text of the email sent with a personal data export file. The following strings have a special meaning and will get replaced dynamically:  - `###EXPIRATION###` The date when the URL will be automatically deleted.  - `###LINK###`       URL of the personal data export file for the user.  - `###SITENAME###`   The name of the site.  - `###SITEURL###`    The URL to the site.

Paramètres

Entrée :
$email_text, $request_id, $email_data
Sortie :
@param string $email_text Text in the email.
@param int    $request_id The request ID for this personal data export.
@param array  $email_data {

Utilisation

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

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

Actualités

Chargement des actualités...