/**
  * custom_columns function.
  *
  * @access public
  * @param mixed $column
  * @return void
  */
 public function job_custom_columns($column)
 {
     global $post;
     if ('job_applications' === $column) {
         echo ($count = get_job_application_count($post->ID)) ? '<a href="' . admin_url('edit.php?s&post_status=all&post_type=job_application&_job_listing=' . $post->ID) . '">' . $count . '</a>' : '&ndash;';
     }
 }
 /**
  * Show the count of applications in the job dashboard
  * @param  WP_Post Job
  */
 public function applications_column($job)
 {
     global $post;
     echo ($count = get_job_application_count($job->ID)) ? '<a href="' . add_query_arg(array('action' => 'show_applications', 'job_id' => $job->ID), get_permalink($post->ID)) . '">' . $count . '</a>' : '&ndash;';
 }