Custom Application Status

Code snippet for customizing the 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.
1
function awsm_jobs_pro_custom_application_status( $status ) {
2
/**
3
* Example: Update an existing status.
4
*/
5
$status['select'] = array(
6
'label' => _x( 'Hired', 'post status', 'pro-pack-for-wp-job-openings' ),
7
/* translators: %s: posts count */
8
'label_count' => _n_noop( 'Hired <span class="count">(%s)</span>', 'Hired <span class="count">(%s)</span>', 'pro-pack-for-wp-job-openings' ),
9
);
10
11
/**
12
* Example: Add a new status.
13
*/
14
$status['interview'] = array(
15
'label' => _x( 'Interview', 'post status', 'pro-pack-for-wp-job-openings' ),
16
'label_count' => _n_noop( 'Interview <span class="count">(%s)</span>', 'Interview <span class="count">(%s)</span>', 'pro-pack-for-wp-job-openings' ),
17
);
18
19
return $status;
20
}
21
add_filter( 'awsm_jobs_pro_application_status', 'awsm_jobs_pro_custom_application_status' );
Copied!
Last modified 7mo ago
Copy link