chose category in plugin
IDs are your friends. Get the category list using get_category (i’m assuming we are talking about the in-built WordPress “category” taxonomy, which slug is category). $categories = get_categories( array( ‘hide_empty’ => false // This is optional ) ); Use the obtained category list in the output of your <select> field: <?php // get $selected_term_id from … Read more