*/ class Simple_Job_Board_Applicants { /** * Initialize the class and set its properties. * * @since 1.0.0 */ public function __construct() { // Hook -> Job Applicants Data add_action('edit_form_after_title', array($this, 'jobpost_applicants_detail_page_content')); } /** * Create Detail Page for Applicants * * @since 1.0.0 */ public function jobpost_applicants_detail_page_content() { global $post; if (!empty($post) and 'jobpost_applicants' === $post->post_type): $keys = get_post_custom_keys($post->ID); /** * Fires before displaying the applicant details * * @since 2.2.0 */ do_action('sjb_applicants_details_before', $post->ID); ?>
ID, $key, TRUE); $applicant_name = apply_filters('sjb_applicant_name', $applicant_name); break; } } } endif; ?>

ID, 'resume', TRUE)): $resume = '    ' . esc_html__('Resume', 'simple-job-board') . ''; else: $resume = '    Resume[deleted]'; endif; echo apply_filters('sjb_applicant_resume', $resume, $post->ID); ?>

Fires after Resume Link * * @since 2.3.0 */ do_action('sjb_resume_link_after', $post->ID); ?> ID); foreach ($keys as $key): if (substr($key, 0, 7) == 'jobapp_') { if (!is_serialized(get_post_meta($post->ID, $key, TRUE))) { echo ''; } else { $values = unserialize(get_post_meta($post->ID, $key, TRUE)); if (is_array($values)) { echo ''; } else { echo ''; } } } endforeach; /** * Fires at the end of applicant details * * @since 2.2.0 */ do_action('sjb_applicants_details_end', $post->ID); ?>
' . ucwords(str_replace('_', ' ', substr($key, 7))) . '' . get_post_meta($post->ID, $key, TRUE) . '
' . ucwords(str_replace('_', ' ', substr($key, 7))) . ''; $count = sizeof($values); foreach ($values as $val): echo esc_attr($val); if ($count > 1) { echo ', '; } $count--; endforeach; echo '
' . ucwords(str_replace('_', ' ', substr($key, 7))) . '' . get_post_meta($post->ID, $key, TRUE) . '
ID); ?>

ID); endif; } } new Simple_Job_Board_Applicants();