Created
May 29, 2015 20:13
-
-
Save tripflex/d9a0c34faa08bfda1bfa to your computer and use it in GitHub Desktop.
Remove field from education resume fields (this example removes qualifications)
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 | |
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