Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// 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;

This comment has been minimized.

Copy link

@mahfuzul mahfuzul commented Aug 26, 2015

How can we make resume_content or resume_file ( one of them must need to fill ) required?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment