# propertyhive/1.4.48/templates/single-property/features.php

Property Hive, version 1.4.48. 37 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/1.4.48/code/templates/single-property/features.php
- Raw: https://pluginprobe.com/plugins/propertyhive/1.4.48/raw/templates/single-property/features.php
- Modified: 2015-11-30T09:44:04+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/1.4.48/code/templates/single-property/features.php#L10-L20`.

```php
<?php
/**
 * Single Property Features
 *
 * @author      PropertyHive
 * @package     PropertyHive/Templates
 * @version     1.0.0
 */

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

global $post, $property;

$features = $property->get_features();

if ( !empty($features) )
{
?>
<div class="features">
    
    <h4><?php _e( 'Property Features', 'propertyhive' ); ?></h4>
    
    <ul>
<?php
    foreach ($features as $feature)
    {
?>
        <li><?php echo $feature; ?></li>
<?php
    }
?>
    </ul>

</div>
<?php
}
?>
```
