Get the full address
| Since | |
|---|---|
1.0 |
|
3.3.3 |
Revised. |
3.4.8 |
Corrected separator location to appear AFTER the street name and options to control display. |
3.4.9 |
Added option allowing passing of $full parameter as false to restrict output to street items only. |
3.5.14 |
Corrected escaping function to esc_html. |
3.6 |
Uses the listing's address rules (show_street_address(), show_suburb(), show_address_city(), show_address_country()). Fix: commercial land listings now hide the suburb when Display Street Address and Display Suburb are both unticked, as commercial and business listings do. |
| Parameters | |||
|---|---|---|---|
bool
|
$full = true |
Set to false too only display the street address. |
# |
bool
|
$street_separator = true |
Display the street separator. |
# |
string
|
$separator_symbol = ',' |
Symbol to use as the street separator, default is a comma. |
# |