filtrod 5.3.0
wp_privacy_personal_data_email_to
Opis — z kodu źródłowego
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.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$request_email | string | The email address of the notification recipient. |
$request | \WP_User_Request | The request that is initiating the notification. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_privacy_personal_data_email_to', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_privacy_personal_data_email_to', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii