public function init() { $this->setLabel(__('Type', 'buggypress')); $terms = BuggyPress_Issue::get_types(); foreach ($terms as $term) { $this->addMultiOption($term->term_id, $term->name); } if (isset($this->_filter)) { $this->setValue($this->_filter->get_type()); } }