filtrod 5.5.0
auto_plugin_update_send_email
Opis — z kodu źródłowego
Filters whether to send an email following an automatic background plugin update.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$enabled | bool | True if plugin update notifications are enabled, false otherwise. |
$update_results | array | The results of plugins update tasks. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'auto_plugin_update_send_email', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'auto_plugin_update_send_email', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii