public function remove_meta_boxes() { $post_type = $this->get_post_type(); foreach ($this->remove_meta_boxes as $item) { remove_meta_box($item[0], $post_type, $item[1]); } }