function update

This commit is contained in:
magepeopleteam 2021-10-04 10:30:48 +00:00
parent 298ea0c557
commit ea0a6c5db5
1 changed files with 1 additions and 1 deletions

View File

@ -1612,7 +1612,7 @@ if (!function_exists('mep_get_only_time')) {
if (!function_exists('mep_get_event_city')) {
function mep_get_event_city($event_id){
$location_sts = get_post_meta($event_id, 'mep_org_address', true) ? get_post_meta($event_id, 'mep_org_address', true) : '';
ob_start();
// ob_start();
if ($location_sts) {
$org_arr = get_the_terms($event_id, 'mep_org');
$org_id = $org_arr[0]->term_id;