Created
October 8, 2018 09:34
-
-
Save yousufansa/57a4577f81008d6bb112cc3ba256aceb to your computer and use it in GitHub Desktop.
Jobhunt - Remove Resume Submit Form Fields
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
add_action( 'init', 'jobhunt_child_custom_function' ); | |
if ( ! function_exists( 'jobhunt_child_custom_function' ) ) { | |
function jobhunt_child_custom_function() { | |
add_filter('submit_resume_form_fields' , 'jobhunt_child_custom_submit_resume_form_fields'); | |
} | |
} | |
if ( ! function_exists( 'jobhunt_child_custom_submit_resume_form_fields' ) ) { | |
function jobhunt_child_custom_submit_resume_form_fields ($fields) { | |
unset ($fields['resume_fields']['candidate_email']); | |
return $fields; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment