filtrod 4.9.0
send_network_admin_email_change_email
Opis — z kodu źródłowego
Filters whether to send the network admin email change notification email.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$send | bool | Whether to send the email notification. |
$old_email | string | The old network admin email address. |
$new_email | string | The new network admin email address. |
$network_id | int | ID of the network. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'send_network_admin_email_change_email', 'twoja_funkcja', 10, 4 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'send_network_admin_email_change_email', 'twoja_funkcja', 10, 4 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4) {
// Twój kod
}