function insert_exhibit($content) { global $wp_query; if ($wp_query->post->datapress_exhibit != NULL) { return WpExhibitHtmlBuilder::insert_exhibit($wp_query->post->datapress_exhibit, $content); } else { return $content; } }