Instantly share code, notes, and snippets.

Embed
What would you like to do?
WP Job Manager - Remove all company details from the job submission page
add_filter( 'submit_job_form_fields', 'gma_custom_submit_job_form_fields' );
function gma_custom_submit_job_form_fields( $fields ) {
unset($fields['company']['company_name']);
unset($fields['company']['company_website']);
unset($fields['company']['company_tagline']);
unset($fields['company']['company_video']);
unset($fields['company']['company_twitter']);
unset($fields['company']['company_logo']);
return $fields;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment