WP HOOKS
filtrod 4.9.0

wp_password_change_notification_email

Args 3Plik wp-includes/pluggable.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the contents of the password change notification email sent to the site admin.

Parametry

ParametrTypOpis
$wp_password_change_notification_emailarray{ 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_UserUser object for user whose password was changed.
$blognamestringThe 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
}

Popularne w tej kategorii