premium-acf-selector.php
4 years ago
premium-post-filter.php
4 years ago
premium-select.php
4 years ago
premium-tax-filter.php
4 years ago
premium-select.php
32 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Class: Premium_Select |
| 4 | * Name: Premium Select |
| 5 | * Slug: premium-select |
| 6 | */ |
| 7 | |
| 8 | namespace PremiumAddons\Includes\Controls; |
| 9 | |
| 10 | use Elementor\Control_Select2; |
| 11 | |
| 12 | if ( ! defined( 'ABSPATH' ) ) { |
| 13 | exit(); |
| 14 | } |
| 15 | |
| 16 | /** |
| 17 | * Premium Select extended from select2 |
| 18 | */ |
| 19 | class Premium_Select extends Control_Select2 { |
| 20 | |
| 21 | const TYPE = 'premium-select'; |
| 22 | |
| 23 | /** |
| 24 | * Returns the type of the control |
| 25 | */ |
| 26 | public function get_type() { |
| 27 | return self::TYPE; |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | |
| 32 |