Unable to remove fields
-
I am trying to remove several of the company fields. Following the tutorial, I used this in my theme’s functions.php file:
add_filter( ‘submit_job_form_fields’, ‘remove_job_form_fields’ );
function remove_job_form_fields( $fields ) {
unset($fields[‘company’][‘company_logo’]);
unset($fields[‘company’][‘company_tagline’]);
unset($fields[‘company’][‘company_twitter’]);
unset($fields[‘company’][‘company_video’]);
return $fields;
}However, it did not remove any of those fields. What I am doing wrong?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Unable to remove fields’ is closed to new replies.