ID, 'jobpost_category');
$metas = '';
// Show Job Features Title, If Features Exist.
if ( 0 < $keys || NULL != $job_category ):
?>
| ' . esc_html__('Job Category', 'simple-job-board') . ' | ';
sjb_the_job_category();
echo' | ';
endif;
?>
ID, $key, TRUE);
if (is_serialized($val)) {
$val = unserialize($val);
}
/**
* New Label Index Insertion:
*
* - Addition of new index "label"
* - Data Legacy Checking
*/
$label = isset($val['label']) ? $val['label'] : __(ucwords(str_replace('_', ' ', substr($key, 11))), 'simple-job-board');
$value = isset($val['value']) ? $val['value'] : $val;
if ( $value != NULL ) {
$metas.= '| ' . $label . ' | ' . $value . ' |
';
}
}
endforeach;
endif;
/**
* Modify the output of job feature section.
*
* @since 2.2.0
*
* @param string $metas job features
*/
echo apply_filters('sjb_job_features', $metas);
?>