gistfile1.php

// Add your own function to filter the fields
add_filter( ‘submit_resume_form_fields’, ‘custom_submit_resume_form_fields’ );

// This is your function which takes the fields, modifies them, and returns them
// You can see the fields which can be changed here: https://github.com/mikejolley/WP-Job-Manager/blob/master/includes/forms/class-wp-job-manager-form-submit-job.php

function custom_submit_resume_form_fields( $fields ) {

// Here we target one of the job fields (job_title) and change it’s label
$fields[‘resume_fields’][‘candidate_experience’][’employer’][‘label’] = “Organization/Employer”;
$fields[‘resume_fields’][‘candidate_experience’][‘job_title’][‘label’] = “Role/Job Title”;

// And return the modified fields
return $fields;
}

gistfile1.php

// Add your own function to filter the fields
add_filter( 'submit_resume_form_fields', 'custom_submit_resume_form_fields' );

// This is your function which takes the fields, modifies them, and returns them
// You can see the fields which can be changed here: https://github.com/mikejolley/WP-Job-Manager/blob/master/includes/forms/class-wp-job-manager-form-submit-job.php

function custom_submit_resume_form_fields( $fields ) {

    // Here we target one of the job fields (job_title) and change it's label
    $fields['resume_fields']['candidate_experience']['employer']['label'] = "Organization/Employer";
    $fields['resume_fields']['candidate_experience']['job_title']['label'] = "Role/Job Title";

    // And return the modified fields
    return $fields;
}
No comments yet.

Leave a Reply