Title: Hide fields from submission form
Last modified: August 22, 2016

---

# Hide fields from submission form

 *  Resolved [Thomas](https://wordpress.org/support/users/stoetzman/)
 * (@stoetzman)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/hide-fields-from-submission-form/)
 * Hello
 * I would like to hide a few fields from the Job Submission form. I tried to follow
   [those instructions](https://wpjobmanager.com/document/editing-job-submission-fields/)
   but I still getting an error message. That’s the code I put into my functions.
   php.
    What am I missing?
 * `add_filter( ‘submit_job_form_fields’, ‘custom_submit_job_form_fields’ );
    function
   custom_submit_job_form_fields( $fields ) { unset( $fields[‘company’][‘company_twitter’]);
   unset( $fields[‘company’][‘company_video’] ); return $fields; } ‘
 * Thanks in advance for your help
 * [https://wordpress.org/plugins/wp-job-manager/](https://wordpress.org/plugins/wp-job-manager/)

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

 *  Plugin Author [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/hide-fields-from-submission-form/#post-5669395)
 * What error are you getting?
 * You’ll want to use a later priority since this is filtering jobify fields:
 *     ```
       add_filter( 'submit_job_form_fields', 'custom_submit_job_form_fields', 50 );
       ```
   
 *  Thread Starter [Thomas](https://wordpress.org/support/users/stoetzman/)
 * (@stoetzman)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/hide-fields-from-submission-form/#post-5669415)
 * I tried the new code and I’m still getting the same error:
 * Fatal error: Cannot redeclare custom_submit_job_form_fields() (previously declared
   in /home/…/…/…/wp-content/themes/celestial-lite-child/functions.php:241) in /
   home/…/…/…/wp-content/themes/celestial-lite-child/functions.php on line 256
 * Could it be because I have the following code snipped. I use this to change a
   lable before:
 * ‘
    add_filter( ‘submit_job_form_fields’, ‘custom_submit_job_form_fields’ ); function
   custom_submit_job_form_fields( $fields ) { $fields[‘job’][‘job_title’][‘label’]
   = “Job Title”; return $fields; } ‘
 *  Plugin Author [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/hide-fields-from-submission-form/#post-5669420)
 * Yes; you have 2 functions named the same (custom_submit_job_form_fields). Rename
   one, or combine the functions into 1.
 *  Thread Starter [Thomas](https://wordpress.org/support/users/stoetzman/)
 * (@stoetzman)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/hide-fields-from-submission-form/#post-5669424)
 * Great, thank you. That works perfectly!!!

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

 The topic ‘Hide fields from submission form’ is closed to new replies.

 * ![](https://ps.w.org/wp-job-manager/assets/icon-256x256.gif?rev=2975257)
 * [WP Job Manager](https://wordpress.org/plugins/wp-job-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-job-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-job-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-job-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-job-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-job-manager/reviews/)

## Tags

 * [form](https://wordpress.org/support/topic-tag/form/)
 * [function.php](https://wordpress.org/support/topic-tag/function-php/)

 * 4 replies
 * 2 participants
 * Last reply from: [Thomas](https://wordpress.org/support/users/stoetzman/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/hide-fields-from-submission-form/#post-5669424)
 * Status: resolved