public function get_markup() { $data = $this->_properties_to_array(); if (empty($data)) { $data = Upfront_Posts_PostsData::get_defaults(); } if (empty($data['display_type'])) { return ''; } // Force no render for unselected display type. return Upfront_Posts_PostsView::get_markup($data); }