Skip to content

Taxonomy Select Field

mattheu edited this page Apr 11, 2013 · 9 revisions

Taxonomy select field. Displays a select input containing all terms within a given taxonomy.

Taxonomy Select Field

Args

  • id string (required)
  • type 'taxonomy_select' (required)
  • taxonomy string (required)
  • repeatable bool
  • cols int [1-12]

Example Usage

array( 
	'id'      => 'example-field-taxonomy-select', 
	'name'    => 'Taxonomy Select Field', 
	'type' => 'taxonomy_select', 
	'taxonomy' => 'category' 
);