return $a[0];
 }, get_post_meta(get_the_ID()));
 $candidate_id = get_post_field('post_author', get_the_ID());
 $candidate_user = get_userdata($candidate_id);
 $candidate_uf_setorial = get_user_meta($candidate_id, 'uf-setorial', true);
 $candidate_class = '';
 $candidacy_removed = false;
 $is_candidate_elected = false;
 $is_candidate_invalid = false;
 // $show_invalid_candidates = false;
 $e = array();
 if ($candidate_uf_setorial !== $forum_uf_setorial) {
     $candidacy_removed = true;
     $candidate_class = 'candidate_disabled';
 }
 if (can_show_elected_candidates()) {
     if (get_post_meta(get_the_ID(), 'elected-candidate', true)) {
         $is_candidate_elected = true;
         $candidate_class = 'candidate_elected';
     }
 }
 if (can_show_invalid_candidates()) {
     // $show_invalid_candidates = true;
     $e = load_evaluation(get_the_ID());
     if ($e["evaluation-status"] == 'invalid') {
         $is_candidate_invalid = true;
         $candidate_class = 'candidate_disabled';
     }
 }
 if (strlen($candidate_meta['candidate-display-name']) < 1) {
     $candidate_meta['candidate-display-name'] = get_user_meta($candidate_id, 'user_name', true);
        }
        ?>
					</td>
	                <td>
	                    <?php 
        echo get_label_setorial_by_slug($candidate['setorial']);
        ?>
	                </td>
	                <td>
	                    <?php 
        echo $candidate['UF'];
        ?>
	                </td>
					<td>
						<?php 
        if (isset($candidate['elected-candidate']) && can_show_elected_candidates()) {
            ?>
							<?php 
            echo "Eleito";
            ?>
						<?php 
        } else {
            ?>
					 		<?php 
            echo isset($candidate["evaluation-status"]) ? label_status_candidate($candidate["evaluation-status"]) : '';
            ?>
  
						<?php 
        }
        ?>
					</td>