# propertyhive/2.2.5/includes/elementor-widgets/property-search-order.php

Property Hive, version 2.2.5. 52 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/2.2.5/code/includes/elementor-widgets/property-search-order.php
- Raw: https://pluginprobe.com/plugins/propertyhive/2.2.5/raw/includes/elementor-widgets/property-search-order.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.2.5/code/includes/elementor-widgets/property-search-order.php#L10-L20`.

```php
<?php
/**
 * Elementor Property Search Order Widget.
 *
 * @since 1.0.0
 */
class Elementor_Property_Search_Order_Widget extends \Elementor\Widget_Base {

	public function get_name() {
		return 'property-search-order';
	}

	public function get_title() {
		return __( 'Search Order', 'propertyhive' );
	}

	public function get_icon() {
		return 'eicon-sort-amount-desc';
	}

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

	public function get_keywords() {
		return [ 'property hive', 'propertyhive', 'property', 'search', 'order', 'sort' ];
	}

	protected function register_controls() {

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

		
		$this->end_controls_section();

	}

	protected function render() {

		global $property;

		$settings = $this->get_settings_for_display();

		propertyhive_catalog_ordering();
	}
}
```
