filtrod MU (3.0.0)
wpmu_signup_user_notification_email
Opis — z kodu źródłowego
Filters the content of the notification email for new user sign-up.
Content should be formatted for transmission via wp_mail().
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$content | string | Content of the notification email. |
$user_login | string | User login name. |
$user_email | string | User email address. |
$key | string | Activation key created in wpmu_signup_user(). |
$meta | array | Signup meta data. Default empty array. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wpmu_signup_user_notification_email', 'twoja_funkcja', 10, 5 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4, $param_5) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wpmu_signup_user_notification_email', 'twoja_funkcja', 10, 5 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4, $param_5) {
// Twój kod
}