Skip to content

Instantly share code, notes, and snippets.

@mikejolley
Created October 8, 2014 15:36
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 mikejolley/186d611d54dd78f3cc03 to your computer and use it in GitHub Desktop.
Save mikejolley/186d611d54dd78f3cc03 to your computer and use it in GitHub Desktop.
add_filter( 'submit_job_form_fields', 'custom_submit_job_form_fields' );
function custom_submit_job_form_fields( $fields ) {
unset( $fields['company']['website'] );
return $fields;
}
@ph0x17
Copy link

ph0x17 commented Nov 11, 2014

is this the code to put in function to disable the fields named "company" and "website"? if i'll disable location and photo? i'll replace the fields given there? thanks for your response.

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