Skip to content

Instantly share code, notes, and snippets.

@tripflex
Created May 29, 2015 20:13
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 tripflex/d9a0c34faa08bfda1bfa to your computer and use it in GitHub Desktop.
Save tripflex/d9a0c34faa08bfda1bfa to your computer and use it in GitHub Desktop.
Remove field from education resume fields (this example removes qualifications)
<?php
add_filter( 'resume_manager_resume_education_fields', 'my_custom_remove_education_field_admin' );
add_filter( 'submit_resume_form_fields', 'my_custom_remove_education_field_frontend' );
function my_custom_remove_education_field_admin( $fields ){
unset( $fields['qualification'] );
return $fields;
}
function my_custom_remove_education_field_frontend( $fields ){
unset( $fields['resume_fields']['candidate_education']['fields']['qualification'] );
return $fields;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment