Skip to content

Instantly share code, notes, and snippets.

@mikejolley
Last active November 29, 2017 18:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikejolley/185531c5061bc28b5e37 to your computer and use it in GitHub Desktop.
Save mikejolley/185531c5061bc28b5e37 to your computer and use it in GitHub Desktop.
Applications - Add a new status
add_filter( 'job_application_statuses', 'add_new_job_application_status' );
function add_new_job_application_status( $statuses ) {
$statuses['example'] = _x( 'Example', 'job_application', 'wp-job-manager-applications' );
$statuses['another_example'] = _x( 'Another Example', 'job_application', 'wp-job-manager-applications' );
$statuses['a_third_example'] = _x( 'A Third Example', 'job_application', 'wp-job-manager-applications' );
return $statuses;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment