filtrod 5.3.0
admin_email_check_interval
Opis — z kodu źródłowego
Filters the interval for redirecting the user to the admin email confirmation screen.
If 0 (zero) is returned, the user will not be redirected.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$interval | int | Interval time (in seconds). Default is 6 months. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'admin_email_check_interval', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'admin_email_check_interval', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii