Created
October 16, 2025 20:35
-
-
Save propertyhive/a6df579653d013ee8f0895e22f0a9676 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // assuming the id of the form is 'student'. If different change the filter name | |
| add_filter( 'propertyhive_search_form_fields_after_student', 'edit_property_search_form_fields' ); | |
| function edit_property_search_form_fields($fields) | |
| { | |
| $fields['_let_type']['value'] = X; // Where X is the Let Type set for Student properties | |
| return $fields; // return the fields | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment