# propertyhive/2.4.0/includes/salient-widgets/property-street-view-html.php

Property Hive, version 2.4.0. 23 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/2.4.0/code/includes/salient-widgets/property-street-view-html.php
- Raw: https://pluginprobe.com/plugins/propertyhive/2.4.0/raw/includes/salient-widgets/property-street-view-html.php
- Modified: 2026-09-16T09:29:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/propertyhive/2.4.0/code/includes/salient-widgets/property-street-view-html.php#L10-L20`.

```php
<?php 

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

extract(shortcode_atts(array(
	'height' => '400',
), $atts));

global $property;

if ( !isset($property->id) ) {
	return;
}

// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- WPBakery html_template local variable; this file is a framework-rendered view receiving $atts/$this, and PrefixAllGlobals sees it outside the framework render scope.
$attributes = array();
if ( isset($atts['height']) && $atts['height'] != '' )
{
	// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- WPBakery html_template local variable; this file is a framework-rendered view receiving $atts/$this, and PrefixAllGlobals sees it outside the framework render scope.
	$attributes['height'] = $atts['height'];
}

get_property_street_view($attributes);
```
