Skip to content

Instantly share code, notes, and snippets.

@davoraltman
Created July 10, 2017 10:37
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 davoraltman/efd7d519cb3b365e14e50081f151baeb to your computer and use it in GitHub Desktop.
Save davoraltman/efd7d519cb3b365e14e50081f151baeb to your computer and use it in GitHub Desktop.
Remove a field from the job submission page
add_filter( 'submit_job_form_fields', 'custom_submit_job_form_fields_dm' );
function custom_submit_job_form_fields_dm( $fields ) {
// in this example, we remove the job_tags field
unset($fields['job']['job_tags']);
// And return the modified fields
return $fields;
}
@SharjeelAhmedKhan
Copy link

SharjeelAhmedKhan commented Nov 3, 2022

Hi there is a problem, I am trying to remove other fields the (job location) and its not working, please guide.

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