Comment on page
Custom Application Status
Important Note: Once you set a custom status, manipulating these statuses may result in unintended results. For example, you won't be able to access some of the applications. So, please use this with caution.
function awsm_jobs_pro_custom_application_status( $status ) {
/**
* Example: Update an existing status.
*/
$status['select'] = array(
'label' => _x( 'Hired', 'post status', 'pro-pack-for-wp-job-openings' ),
/* translators: %s: posts count */
'label_count' => _n_noop( 'Hired <span class="count">(%s)</span>', 'Hired <span class="count">(%s)</span>', 'pro-pack-for-wp-job-openings' ),
);
/**
* Example: Add a new status.
*/
$status['interview'] = array(
'label' => _x( 'Interview', 'post status', 'pro-pack-for-wp-job-openings' ),
'label_count' => _n_noop( 'Interview <span class="count">(%s)</span>', 'Interview <span class="count">(%s)</span>', 'pro-pack-for-wp-job-openings' ),
);
return $status;
}
add_filter( 'awsm_jobs_pro_application_status', 'awsm_jobs_pro_custom_application_status' );
Last modified 2yr ago