PluginProbe
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder / 51.1.36
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder v51.1.36
51.1.83 51.1.82 51.1.81 51.1.79 51.1.78 51.1.77 51.1.76 51.1.74 51.1.75 51.1.65 51.1.64 51.1.63 trunk 51.1.14 51.1.2 51.1.35 51.1.36 51.1.37 51.1.38 51.1.39 51.1.44 51.1.45 51.1.46 51.1.47 51.1.49 All 37 releases
king-addons / includes / widgets / Test / Test.php

Test.php in King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder 51.1.36, at includes/widgets/Test/Test.php

85 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace King_Addons;
4
5 use Elementor\Controls_Manager;
6 use Elementor\Widget_Base;
7
8 if (!defined('ABSPATH')) {
9 exit; // Exit if accessed directly.
10 }
11
12
13
14 class Test extends Widget_Base
15 {
16
17
18 public function get_name(): string
19 {
20 return 'king-addons-test';
21 }
22
23 public function get_title(): string
24 {
25 return esc_html__('Test', 'king-addons');
26 }
27
28 public function get_icon(): string
29 {
30 return 'king-addons-icon king-addons-test';
31 }
32
33 public function get_script_depends(): array
34 {
35 return [KING_ADDONS_ASSETS_UNIQUE_KEY . '-libfolder-libfile', KING_ADDONS_ASSETS_UNIQUE_KEY . '-test-script'];
36 }
37
38 public function get_style_depends(): array
39 {
40 return [KING_ADDONS_ASSETS_UNIQUE_KEY . '-libfolder-libfile', KING_ADDONS_ASSETS_UNIQUE_KEY . '-test-style'];
41 }
42
43 public function get_categories(): array
44 {
45 return ['king-addons'];
46 }
47
48 public function get_keywords(): array
49 {
50 return ['test', 'king addons', 'king', 'addons', 'kingaddons', 'king-addons'];
51 }
52
53 public function get_custom_help_url()
54 {
55 return 'mailto:bug@kingaddons.com?subject=Bug Report - King Addons&body=Please describe the issue';
56 }
57
58 protected function register_controls(): void
59 {
60
61 $this->start_controls_section(
62 'king_addons_test_section',
63 [
64 'label' => KING_ADDONS_ELEMENTOR_ICON . esc_html__('Test', 'king-addons'),
65 'tab' => Controls_Manager::TAB_CONTENT
66 ]
67 );
68
69
70
71
72
73 $this->end_controls_section();
74
75
76 }
77
78 protected function render(): void
79 {
80 $settings = $this->get_settings();
81 $id = $this->get_id();
82
83
84 }
85 }