public function set_post_type($post_type) { $this->set_types(array(array('type' => 'post', 'post_type' => $post_type))); return $this; }