Created
July 10, 2017 10:37
-
-
Save davoraltman/efd7d519cb3b365e14e50081f151baeb to your computer and use it in GitHub Desktop.
Remove a field from the job submission page
This file contains 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
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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there is a problem, I am trying to remove other fields the (job location) and its not working, please guide.