• Resolved eman2015

    (@eman2015)


    I would like to remove the Photo and Video fields from Submit Resume form and have tried the following codes below but doesn’t seem to work. Any help with what I’m missing?

    ……………………………………….
    add_filter( ‘submit_resume_form_fields’, ‘remove_submit_resume_form_fields’ );

    function remove_submit_resume_form_fields( $fields ) {

    // Unset any of the fields you’d like to remove – copy and repeat as needed

    // Removing the Photo field
    unset( $fields[‘resume_fields’][‘photo’] );

    // Removing the Video field
    unset( $fields[‘resume_fields’][‘video’] );

    // And return the modified fields
    return $fields;

    }

    https://wordpress.org/plugins/wp-job-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mike Jolley

    (@mikejolley)

    unset( $fields['resume_fields']['candidate_photo'] );
    unset( $fields['resume_fields']['candidate_video'] );
    Thread Starter eman2015

    (@eman2015)

    Hey Mike, those two lines worked very well. Moving forward, I have then been able to make some fields mandatory.

    Thanks a million.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove Photo and Video fields from’ is closed to new replies.