Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Disable auto filling company details
add_filter('submit_job_form_fields_get_user_data', 'remove_job_form_fields_user_company_data');
function remove_job_form_fields_user_company_data( $fields ) {
$fields['company']['company_name']['value'] = null;
$fields['company']['company_website']['value'] = null;
$fields['company']['company_tagline']['value'] = null;
$fields['company']['company_twitter']['value'] = null;
$fields['company']['company_video']['value'] = null;
return $fields;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment