wp_dropdown_categories()
has the taxonomy
parameter, which defaults to category
, but can be used to retrieve custom taxonomies. Exemplary usage:
wp_dropdown_categories([
'taxonomy' => 'custom-taxonomy-name'
]);
wp_dropdown_categories()
has the taxonomy
parameter, which defaults to category
, but can be used to retrieve custom taxonomies. Exemplary usage:
wp_dropdown_categories([
'taxonomy' => 'custom-taxonomy-name'
]);