This commit is contained in:
ThemeLexus
2019-09-30 10:10:51 +07:00
parent 40ce2b6047
commit b2b82e2d4a
2 changed files with 23 additions and 6 deletions

View File

@@ -62,8 +62,16 @@ class OpalEstate_Shortcodes {
}
public function search_properties_form() {
return opalestate_load_template_path( 'search-box/collapse-advanced' );
/**
* Display all properties follow user when logined
*/
public function search_properties_form ( $atts=[] ) {
$atts = is_array( $atts ) ? $atts : [];
$atts['hidden_labels'] = true;
return opalestate_load_template_path( 'search-box/collapse-advanced', $atts );
}
public function properties() {