public function getFeaturedImage() { $featuredImageId = $this->_WPLayer->get_post_thumbnail_id($this->getID()); $featuredImageUrl = $this->_WPLayer->wp_get_attachment_url($featuredImageId); return $featuredImageUrl; }