Last active
February 19, 2020 13:00
-
-
Save imfaisalkh/16aed6f8702ed4cbbf857fe6a817c6c0 to your computer and use it in GitHub Desktop.
Modify Resume Submission Form Fields
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
<?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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// 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.";