I have a requirement to output taxonomies as a select list. This is acheived using the code below.
There are a couple of tweaks I would like, if possible:
1. Limit the output taxonomies by post type association. For example, only taxonomies used for products.
2. Set the output to the style of “taxonomy_slug : Taxonomy Name” so the select list looks nice on the frontend.