# propertyhive/2.4.0/includes/elementor-widgets/property-enquiry-form.php

Property Hive, version 2.4.0. 58 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/2.4.0/code/includes/elementor-widgets/property-enquiry-form.php
- Raw: https://pluginprobe.com/plugins/propertyhive/2.4.0/raw/includes/elementor-widgets/property-enquiry-form.php
- Modified: 2023-05-22T12:22:12+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/elementor-widgets/property-enquiry-form.php#L10-L20`.

```php
<?php
/**
 * Elementor Property Enquiry Form Widget.
 *
 * @since 1.0.0
 */
class Elementor_Property_Enquiry_Form_Widget extends \Elementor\Widget_Base {

	public function get_name() {
		return 'property-enquiry-form';
	}

	public function get_title() {
		return __( 'Enquiry Form', 'propertyhive' );
	}

	public function get_icon() {
		return 'eicon-form-horizontal';
	}

	public function get_categories() {
		return [ 'property-hive' ];
	}

	public function get_keywords() {
		return [ 'property hive', 'propertyhive', 'property', 'enquiry', 'form' ];
	}

	protected function register_controls() {

		$this->start_controls_section(
			'style_section',
			[
				'label' => __( 'Enquiry Form', 'propertyhive' ),
				'tab' => \Elementor\Controls_Manager::TAB_STYLE,
			]
		);


		$this->end_controls_section();

	}

	protected function render() {

		global $property;

		$settings = $this->get_settings_for_display();

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

		propertyhive_enquiry_form();

	}

}
```
