Created
November 30, 2017 01:59
-
-
Save FernandoSalinas33/87d9e7e744011214e612fb084938c8f8 to your computer and use it in GitHub Desktop.
Make Categories "term-select"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Place any new code below this line */ | |
add_filter( 'submit_job_form_fields', 'custom_submit_job_form_fields' ); | |
function custom_submit_job_form_fields( $fields ) { | |
// Here we target one of the job fields and change it to Single-select | |
$fields['job']['job_category']['type'] = "term-select"; | |
// And return the modified fields | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment