filtrod 2.8.0
widget_categories_args
Opis — z kodu źródłowego
Filters the arguments for the Categories widget.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$cat_args | array | An array of Categories widget options. |
$instance | array | Array of settings for the current widget. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'widget_categories_args', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'widget_categories_args', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii