Created
February 11, 2015 13:15
-
-
Save bryceadams/e3e75513dfeb7df0ca33 to your computer and use it in GitHub Desktop.
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 your own function to filter the fields | |
add_filter( 'submit_resume_form_fields', 'resume_file_required' ); | |
// This is your function which takes the fields, modifies them, and returns them | |
function resume_file_required( $fields ) { | |
// Here we target one of the job fields (candidate name) and change it's label | |
$fields['resume_fields']['resume_file']['required'] = true; | |
// And return the modified fields | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can we make resume_content or resume_file ( one of them must need to fill ) required?