/** * Get list of related posts * * @return object WP_Query * @access public */ public function getRelatedPosts() { return $this->post_type->getRelationship()->getRelatedPosts(); }