filtrod 6.0.0
send_retrieve_password_email
Opis — z kodu źródłowego
Filters whether to send the retrieve password email.
Return false to disable sending the email.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$send | bool | Whether to send the email. |
$user_login | string | The username for the user. |
$user_data | \WP_User | WP_User object. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'send_retrieve_password_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( 'send_retrieve_password_email', 'twoja_funkcja', 10, 3 );
function twoja_funkcja($param_1, $param_2, $param_3) {
// Twój kod
}Popularne w tej kategorii