Skip to content

Instantly share code, notes, and snippets.

@kraftbj
Created February 11, 2016 20:42
Show Gist options
  • Save kraftbj/20555e4679014aa02f96 to your computer and use it in GitHub Desktop.
Save kraftbj/20555e4679014aa02f96 to your computer and use it in GitHub Desktop.
Resume candidate skills pull from tax
<?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