Skip to content

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;
}
@LVLYXL

This comment has been minimized.

Copy link

commented Jan 30, 2019

Using this on my site but it's only removing the company name field? https://railwork.co.uk

@lucagrandicelli

This comment has been minimized.

Copy link

commented Apr 8, 2019

@LVLYXL yep, it seems removing only the input field, not the whole row.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.