Last active
November 6, 2020 07:23
-
-
Save dericleeyy/1a730d8ddea03ca227afa8df38bb5bb1 to your computer and use it in GitHub Desktop.
Disable auto filling company details
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_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