filtrod MU (3.0.0)
update_welcome_email
Opis — z kodu źródłowego
Filters the content of the welcome email sent to the site administrator after site activation.
Content should be formatted for transmission via wp_mail().
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$welcome_email | string | Message body of the email. |
$blog_id | int | Site ID. |
$user_id | int | User ID of the site administrator. |
$password | string | User password, or "N/A" if the user account is not new. |
$title | string | Site title. |
$meta | array | Signup meta data. By default, contains the requested privacy setting and lang_id. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'update_welcome_email', 'twoja_funkcja', 10, 6 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4, $param_5, $param_6) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'update_welcome_email', 'twoja_funkcja', 10, 6 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4, $param_5, $param_6) {
// Twój kod
}