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

Property Hive, version 2.3.1. 39 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/2.3.1/code/templates/single-property/features.php
- Raw: https://pluginprobe.com/plugins/propertyhive/2.3.1/raw/templates/single-property/features.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.3.1/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;

// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Template-local variable; the template is included through a helper/function scope, so PrefixAllGlobals misclassifies the file when checked standalone.
$features = $property->get_features();

if ( !empty($features) )
{
?>
<div class="features">
    
    <h4><?php echo esc_html(__( 'Property Features', 'propertyhive' )); ?></h4>
    
    <ul>
<?php
    // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Template-local variable; the template is included through a helper/function scope, so PrefixAllGlobals misclassifies the file when checked standalone.
    foreach ($features as $feature)
    {
?>
        <li><?php echo esc_html($feature); ?></li>
<?php
    }
?>
    </ul>

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