WP HOOKS
filtrod 2.8.0

retrieve_password_message

Args 4Plik wp-includes/user.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the message body of the password reset mail.

If the filtered message is empty, the password reset email will not be sent.

Parametry

ParametrTypOpis
$messagestringEmail message.
$keystringThe activation key.
$user_loginstringThe username for the user.
$user_data\WP_UserWP_User object.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'retrieve_password_message', 'twoja_funkcja', 10, 4 );

function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
	// Twój kod
}

Popularne w tej kategorii