WP HOOKS
filtrod MU (3.0.0)

update_welcome_user_email

Args 4Plik wp-includes/ms-functions.phpDokumentacja WP ↗

Opis — z kodu źródłowego

Filters the content of the welcome email after user activation.

Content should be formatted for transmission via wp_mail().

Parametry

ParametrTypOpis
$welcome_emailstringThe message body of the account activation success email.
$user_idintUser ID.
$passwordstringUser password.
$metaarraySignup meta data. Default empty array.

Wywołanie

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

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