Skip to content

Instantly share code, notes, and snippets.

@yousufansa
Created October 8, 2018 09:34
Show Gist options
  • Save yousufansa/57a4577f81008d6bb112cc3ba256aceb to your computer and use it in GitHub Desktop.
Save yousufansa/57a4577f81008d6bb112cc3ba256aceb to your computer and use it in GitHub Desktop.
Jobhunt - Remove Resume Submit Form Fields
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