public function getPostTypeConfig() { return array_merge(parent::getPostTypeConfig(), array('show_in_menu' => 'edit.php?post_type=form-config')); }
/** * Hide Theme Options Base from the admin menu */ public function getPostTypeConfig() { return $this->getPostType() === 'theme-opt-base' ? null : parent::getPostTypeConfig(); }