filtrod 5.1.0
wp_using_themes
Opis — z kodu źródłowego
Filters whether the current request should use themes.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$wp_using_themes | bool | Whether the current request should use themes. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wp_using_themes', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'wp_using_themes', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii