filtrod MU (3.0.0)
newuser_notify_siteadmin
Opis — z kodu źródłowego
Filters the message body of the new user activation email sent to the network administrator.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$msg | string | Email body. |
$user | \WP_User | WP_User instance of the new user. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'newuser_notify_siteadmin', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'newuser_notify_siteadmin', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}