filtrod 5.8.0
user_request_confirmed_email_content
Opis — z kodu źródłowego
Filters the body of the user request confirmation email.
The email is sent to an administrator when a user request is confirmed. The following strings have a special meaning and will get replaced dynamically:
###SITENAME###The name of the site.###USER_EMAIL###The user email for the request.###DESCRIPTION###Description of the action being performed so the user knows what the email is for.###MANAGE_URL###The URL to manage requests.###SITEURL###The URL to the site.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$content | string | The email content. |
$email_data | array | { Data relating to the account action email. @type WP_User_Request $request User request object. @type string $user_email The email address confirming a request. @type string $description Description of the action being performed so the user knows what the email is for. @type string $manage_url The link to click manage privacy requests of this type. @type string $sitename The site name sending the mail. @type string $siteurl The site URL sending the mail. @type string $admin_email The administrator email receiving the mail. } |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'user_request_confirmed_email_content', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'user_request_confirmed_email_content', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii