I’ve created a taxonomy select field in my metabox. For the other metaboxes i use get_post_meta, but I cannot figure out what to use here. Tried get_terms but with no luck. Below is my piklist field.
piklist('field', array(
'type' => 'select'
,'scope' => 'taxonomy'
,'field' => 'manufacturers'
,'label' => 'Κατασκευαστής σκάφους'
,'choices' => array(
'' => 'Επιλέξτε κατασκευαστή'
)
+ piklist(get_terms('manufacturers', array(
'hide_empty' => false
))
,array(
'term_id'
,'name'
)
)
));