Skip to content

Instantly share code, notes, and snippets.

@imfaisalkh
Last active February 19, 2020 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imfaisalkh/16aed6f8702ed4cbbf857fe6a817c6c0 to your computer and use it in GitHub Desktop.
Save imfaisalkh/16aed6f8702ed4cbbf857fe6a817c6c0 to your computer and use it in GitHub Desktop.
Modify Resume Submission Form Fields
<?php
// Add your own function to filter the fields
add_filter( 'submit_resume_form_fields', 'capstone_submit_resume_form_fields' );
// This is your function which takes the fields, modifies them, and returns them
function capstone_submit_resume_form_fields( $fields ) {
// Here we target one of the resume fields
$fields['resume_fields']['candidate_email']['description'] = "Your email would be visible to the public.";
$fields['resume_fields']['resume_file']['description'] = "Optionally upload your resume for employers to view. Your resume would be downloadable for the public.";
// And return the modified fields
return $fields;
}
@belentt
Copy link

belentt commented Feb 19, 2020

// Here we target one of the resume fields
$fields['resume_fields']['candidate_email']['description'] = "Your email will be visible to the employers";
$fields['resume_fields']['resume_file']['description'] = "Optionally upload your resume for employers to view. Your resume will be downloadable. If you apply for a job through the platform, your email will be sent to the company you are applying for.";

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