Browse
For agents
About
Property Hive
/
2.2.2
Property Hive
v2.2.2
Switch version
2.3.1
2.3.0
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
1.4.46
1.4.47
1.4.48
1.4.49
1.4.5
1.4.50
1.4.51
1.4.52
1.4.53
1.4.54
1.4.55
1.4.56
1.4.57
1.4.58
1.4.59
1.4.6
1.4.60
1.4.61
All 261 releases
Overview
Code
propertyhive
/
includes
/
salient-widgets
/
property-search-form-html.php
property-search-form-html.php
in Property Hive 2.2.2, at includes/salient-widgets/property-search-form-html.php
10 lines
477 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
3
if
(
!
defined
(
'
ABSPATH
'
)
)
exit
;
//
Exit if accessed directly
4
5
extract
(
shortcode_atts
(
array
(
6
"
form_id
"
=>
"
default
"
,
7
"
default_department
"
=>
"
"
,
8
)
,
$
atts
)
)
;
9
10
echo
do_shortcode
(
'
[property_search_form id="
'
.
(
(
isset
(
$
atts
[
'
form_id
'
]
)
&&
!
empty
(
$
atts
[
'
form_id
'
]
)
)
?
$
atts
[
'
form_id
'
]
:
'
default
'
)
.
'
"
'
.
(
(
isset
(
$
atts
[
'
default_department
'
]
)
&&
!
empty
(
$
atts
[
'
default_department
'
]
)
)
?
'
default_department="
'
.
$
atts
[
'
default_department
'
]
.
'
"
'
:
'
'
)
.
'
]
'
)
;