filtrod 3.7.0
automatic_updates_send_debug_email
Opis — z kodu źródłowego
Filters whether to send a debugging email for each automatic background update.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$development_version | bool | By default, emails are sent if the install is a development version. Return false to avoid the email. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'automatic_updates_send_debug_email', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'automatic_updates_send_debug_email', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii