filtrod 3.8.0
automatic_updates_debug_email
Opis — z kodu źródłowego
Filters the debug email that can be sent following an automatic background core update.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$email | array | { Array of email arguments that will be passed to wp_mail(). @type string $to The email recipient. An array of emails can be returned, as handled by wp_mail(). @type string $subject Email subject. @type string $body Email message body. @type string $headers Any email headers. Default empty. } |
$failures | int | The number of failures encountered while upgrading. |
$results | mixed | The results of all attempted updates. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'automatic_updates_debug_email', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'automatic_updates_debug_email', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii