filtrod 4.8.0
enable_login_autofocus
Opis — z kodu źródłowego
Filters whether to print the call to `wp_attempt_focus()` on the login screen.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$print | bool | Whether to print the function call. Default true. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'enable_login_autofocus', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'enable_login_autofocus', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii