filtrod 4.9.0
wp_password_change_notification_email
Opis — z kodu źródłowego
Filters the contents of the password change notification email sent to the site admin.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$wp_password_change_notification_email | array | { Used to build wp_mail(). @type string $to The intended recipient - site admin email address. @type string $subject The subject of the email. @type string $message The body of the email. @type string $headers The headers of the email. } |
$user | \WP_User | User object for user whose password was changed. |
$blogname | string | The site title. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_password_change_notification_email', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_password_change_notification_email', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii