filtrod 3.9.0
is_wide_widget_in_customizer
Opis — z kodu źródłowego
Filters whether the given widget is considered "wide".
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$is_wide | bool | Whether the widget is wide, Default false. |
$widget_id | string | Widget ID. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'is_wide_widget_in_customizer', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'is_wide_widget_in_customizer', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii