Created
December 5, 2018 06:19
-
-
Save yousufansa/c6a0f76251790387b5e17caaa7977a17 to your computer and use it in GitHub Desktop.
Jobhunt - Remove Resumes Submit Form Fields ( Social Links, Video, Award & URL )
This file contains hidden or 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
if ( ! function_exists( 'jh_child_custom_function' ) ) { | |
function jh_child_custom_function() { | |
add_filter('submit_resume_form_fields' , 'jh_child_custom_submit_resume_form_fields'); | |
} | |
} | |
add_action( 'init', 'jh_child_custom_function' ); | |
if ( ! function_exists( 'jh_child_custom_submit_resume_form_fields' ) ) { | |
function jh_child_custom_submit_resume_form_fields ($fields) { | |
unset ($fields['resume_fields']['candidate_twitter']); | |
unset ($fields['resume_fields']['candidate_facebook']); | |
unset ($fields['resume_fields']['candidate_googleplus']); | |
unset ($fields['resume_fields']['candidate_linkedin']); | |
unset ($fields['resume_fields']['candidate_instagram']); | |
unset ($fields['resume_fields']['candidate_youtube']); | |
unset ($fields['resume_fields']['candidate_behance']); | |
unset ($fields['resume_fields']['candidate_pinterest']); | |
unset ($fields['resume_fields']['candidate_github']); | |
unset ($fields['resume_fields']['candidate_awards']); | |
unset ($fields['resume_fields']['candidate_video']); | |
unset ($fields['resume_fields']['links']); | |
return $fields; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment