# propertyhive/2.4.0/includes/divi-widgets/property-meta.php

Property Hive, version 2.4.0. 40 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/2.4.0/code/includes/divi-widgets/property-meta.php
- Raw: https://pluginprobe.com/plugins/propertyhive/2.4.0/raw/includes/divi-widgets/property-meta.php
- Modified: 2025-11-10T21:38: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/2.4.0/code/includes/divi-widgets/property-meta.php#L10-L20`.

```php
<?php
if (!defined('ABSPATH')) {
    exit;
}

class Divi_Property_Meta_Widget extends ET_Builder_Module
{
    public $slug       = 'et_pb_property_meta_widget';
    public $vb_support = 'partial';
    public $icon = '';

    public function init() {
        $this->name = esc_html__( 'Property Meta', 'propertyhive' );
        $this->icon = '&';
    }

    public function get_fields()
    {
        $fields = array();

        return $fields;
    }

    public function render( $attrs, $content, $render_slug )
    {
        $post_id = get_the_ID();

        $property = new PH_Property($post_id);

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

        ob_start();

        propertyhive_template_single_meta();

        return $this->_render_module_wrapper( ob_get_clean(), $render_slug );
    }
}
```
