filtrod 5.2.0
recovery_mode_email
Opis — z kodu źródłowego
Filters the contents of the Recovery Mode email.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$email | array | { Used to build a call to wp_mail(). @type string|array $to Array or comma-separated list of email addresses to send message. @type string $subject Email subject @type string $message Message contents @type string|array $headers Optional. Additional headers. @type string|array $attachments Optional. Files to attach. } |
$url | string | URL to enter recovery mode. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'recovery_mode_email', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'recovery_mode_email', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii