filtrod MU (3.0.0)
wpmu_welcome_user_notification
Opis — z kodu źródłowego
Filters whether to bypass the welcome email after user activation.
Returning false disables the welcome email.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$user_id | int | User ID. |
$password | string | User password. |
$meta | array | Signup 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
}
// 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
}