filtrod 3.6.0
wp_auth_check_load
Opis — z kodu źródłowego
Filters whether to load the authentication check.
Returning a falsey value from the filter will effectively short-circuit loading the authentication check.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$show | bool | Whether to load the authentication check. |
$screen | \WP_Screen | The current screen object. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_auth_check_load', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_auth_check_load', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii