filtrod MU (3.0.0)
newblog_notify_siteadmin
Opis — z kodu źródłowego
Filters the message body of the new site activation email sent to the network administrator.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$msg | string | Email body. |
$blog_id | int | string | The new site's ID as an integer or numeric string. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'newblog_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( 'newblog_notify_siteadmin', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}