jaredatch/Custom-Metaboxes-and-Fields-for-WordPress — Issue #95: Add Optional Custom Options to Taxonomy Select (etc)
Author: wpsmith
Created: 2012-01-20 16:02:29+00:00
State: open

While I am not sure if anyone would want to include other custom options for taxonomy_select (et. al.), I believe adding the option would be good, especially to create an empty option. https://gist.github.com/1647598

So use would be:

'fields' => array(
array(
'name' => 'Breadcrumb Category',
'desc' => 'Select any category',
'id' => '_category_permalink',
'taxonomy' => 'category', //Enter Taxonomy Slug
'type' => 'taxonomy_select',
'options' => array (
array( 'name' => 'Select', 'value' => '' ),
)
),
)