filtrod 2.1.0
wp_dropdown_cats
Opis — z kodu źródłowego
Filters the taxonomy drop-down output.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$output | string | HTML output. |
$parsed_args | array | Arguments used to build the drop-down. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_dropdown_cats', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_dropdown_cats', 'twoja_funkcja', 10, 2 );
function twoja_funkcja($param_1, $param_2) {
// Twój kod
}Popularne w tej kategorii