filtrod 5.6.0
email_exists
Opis — z kodu źródłowego
Filters whether the given email exists.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$user_id | int | false | The user ID associated with the email, or false if the email does not exist. |
$email | string | The email to check for existence. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'email_exists', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'email_exists', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii