| 1 |
<?php |
| 2 |
|
| 3 |
defined( 'ABSPATH' ) || die(); |
| 4 |
|
| 5 |
use Elementor\Element_Base; |
| 6 |
use Elementor\Widget_Base; |
| 7 |
|
| 8 |
/** |
| 9 |
* Sellkit Elementor Base Widget. |
| 10 |
* |
| 11 |
* @since 1.1.0 |
| 12 |
*/ |
| 13 |
abstract class Sellkit_Elementor_Base_Widget extends Widget_Base { |
| 14 |
|
| 15 |
/** |
| 16 |
* Check If the widget is active. |
| 17 |
* |
| 18 |
* @since 1.1.0 |
| 19 |
* @return bool |
| 20 |
*/ |
| 21 |
public static function is_active() { |
| 22 |
return true; |
| 23 |
} |
| 24 |
|
| 25 |
/** |
| 26 |
* Get all the cargories. |
| 27 |
* |
| 28 |
* @since 1.1.0 |
| 29 |
* @return array |
| 30 |
*/ |
| 31 |
public function get_categories() { |
| 32 |
return [ 'sellkit' ]; |
| 33 |
} |
| 34 |
|
| 35 |
/** |
| 36 |
* Get all of the keywords. |
| 37 |
* |
| 38 |
* @since 1.1.0 |
| 39 |
* @return array |
| 40 |
*/ |
| 41 |
public function get_keywords() { |
| 42 |
return [ 'sellkit' ]; |
| 43 |
} |
| 44 |
|
| 45 |
} |
| 46 |
|