WP_Dropdown_Categories And Parent Optgroups

WP_Dropdown_Categories is a well used core WordPress function used to display or retrieve a dropdown list of categories as formatted HTML. It is highly customisable, with multiple settings for layout, category & taxonomy types etc. There is however no current method whereby top level parent categories can be set as non-selectable optgroup select options,...
Read More