'etn_category', 'number' => 50, ); $cats = get_categories( $args_cat ); } $cat_json = []; if(!empty($cats)){ foreach($cats as $value){ $term = get_term($value,'etn_category'); $info = [ 'category' => $term->name, ]; array_push($cat_json, $info ); } } $show_parent_event = isset( $attributes['show_parent_event'] ) ? $attributes['show_parent_event'] : ''; $show_child_event = isset( $attributes['show_child_event'] ) ? $attributes['show_child_event'] : 'yes'; $post_parent = Helper::show_parent_child( $show_parent_event , $show_child_event ); $extra_controls = [ 'limit' => $event_count, 'select_cat_text' => esc_html__('All Categories', 'eventin'), 'show_desc' => $show_desc, 'show_upcoming_event' => $show_upcoming_event, 'calendar_show' =>$calendar_show, 'style' =>$style, 'selected_date_text' => esc_html__('Showing events for', 'eventin'), 'event_notice' => esc_html__('No event found on the selected date. Please select another date or month.', 'eventin'), 'post_parent' => $post_parent ]; $data_controls = json_encode( $extra_controls ); $data_cat_list = json_encode( $cat_json ); $data_selected_cats = json_encode( $cats ); ob_start(); ?>

'javascript:void(0);', 'link_only' => 'no'], $atts ) ); ob_start(); $event = new Event_Model( $meeting_id ); $location = $event->etn_event_location; $integration = ! empty( $location['integration'] ) ? $location['integration'] : ''; $meeting_link = $event->meeting_link; if ( 'online' == $event->event_type && 'zoom' == $integration ) { ?>