Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Note we're using 'default' as the identifier. Update this accordingly
- add_filter( 'propertyhive_search_form_fields_default', 'edit_default_property_search_form_fields' );
- function edit_default_property_search_form_fields($fields)
- {
- $fields['department']['type'] = 'hidden';
- return $fields; // return the fields
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement