WP HOOKS
filtrod MU (3.0.0)

wpmu_welcome_user_notification

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

Opis — z kodu źródłowego

Filters whether to bypass the welcome email after user activation.

Returning false disables the welcome email.

Parametry

ParametrTypOpis
$user_idintUser ID.
$passwordstringUser password.
$metaarraySignup meta data. Default empty array.

Wywołanie

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

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