Created
February 11, 2016 20:42
-
-
Save kraftbj/20555e4679014aa02f96 to your computer and use it in GitHub Desktop.
Resume candidate skills pull from tax
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
<?php // remove this on an existing file | |
add_filter('submit_resume_form_fields', 'bk_multiselect'); | |
function bk_multiselect($fields){ | |
$fields['resume_fields']['resume_skills']['type'] = 'term-multiselect'; | |
$fields['resume_fields']['resume_skills']['taxonomy'] = 'resume_skill'; | |
$fields['resume_fields']['resume_skills']['placeholder'] = ''; | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment