wp_privacy_personal_data_email_to

FILTER wp-admin\includes\privacy-tools.php (ligne 623) github
Filters the recipient of the personal data export email notification. Should be used with great caution to avoid sending the data export link to the wrong email.

Paramètres

Entrée :
$request->email, $request
Sortie :
@param string          $request_email The email address of the notification recipient.
@param WP_User_Request $request       The request that is initiating the notification.

Utilisation

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

function ma_fonction_filtre($request->email) {
    // Modifier la valeur
    return $request->email;
}

Actualités

Chargement des actualités...