Skip to content

Instantly share code, notes, and snippets.

@davoraltman
Created July 26, 2017 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davoraltman/d14ac6ea64bdcbf3f25c374489972154 to your computer and use it in GitHub Desktop.
Save davoraltman/d14ac6ea64bdcbf3f25c374489972154 to your computer and use it in GitHub Desktop.
Change the candidate title
// Add your own function to filter the fields
add_filter( 'submit_resume_form_fields', 'custom_submit_resume_form_fields_dm' );
// This is your function which takes the fields, modifies them, and returns them
function custom_submit_resume_form_fields_dm( $fields ) {
// Here we target one of the job fields (candidate name) and change it's label
$fields['resume_fields']['candidate_title']['label'] = "My pro title";
// 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