PluginProbe
UiCore Elements – Free widgets and templates for Elementor / 1.3.17
UiCore Elements – Free widgets and templates for Elementor v1.3.17
1.3.17 1.3.16 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 All 41 releases
← All changes | includes/class-elementor.php +9 -6 1.2.41.3.17 View file →
@@ -1,5 +1,6 @@
1 1 <?php
2 +
2 3 namespace UiCoreElements;
3 4
4 5 /**
5 6 * Scripts and Styles Class
@@ -11,11 +12,11 @@
11 12 $this->init_utils();
12 13
13 14 require_once UICORE_ELEMENTS_INCLUDES . '/class-widget-base.php';
14 15 require_once UICORE_ELEMENTS_INCLUDES . '/class-nested-widget-base.php';
15 - if(!class_exists('\UiCoreAnimate\Base')){
16 + if (!class_exists('\UiCoreAnimate\Base')) {
16 17 require_once UICORE_ELEMENTS_INCLUDES . '/class-animate.php';
17 - }
18 + }
18 19
19 20
20 21 add_action('elementor/elements/categories_registered', [$this, 'create_custom_category'], 999);
21 22 add_action('elementor/widgets/widgets_registered', [$this, 'extend_widgets'], 999);
@@ -20,9 +21,8 @@
20 21 add_action('elementor/elements/categories_registered', [$this, 'create_custom_category'], 999);
21 22 add_action('elementor/widgets/widgets_registered', [$this, 'extend_widgets'], 999);
22 23 add_action('elementor/controls/register', [$this, 'init_controls']);
23 24 add_action('elementor/widgets/register', [$this, 'init_widgets']);
24 -
25 25 }
26 26
27 27 public function init_widgets()
28 28 {
@@ -66,11 +66,13 @@
66 66 require_once UICORE_ELEMENTS_INCLUDES . '/widgets/theme-builder/the-content.php';
67 67 require_once UICORE_ELEMENTS_INCLUDES . '/widgets/theme-builder/the-title.php';
68 68 require_once UICORE_ELEMENTS_INCLUDES . '/widgets/theme-builder/post-meta.php';
69 69 require_once UICORE_ELEMENTS_INCLUDES . '/widgets/theme-builder/page-description.php';
70 + require_once UICORE_ELEMENTS_INCLUDES . '/widgets/theme-builder/post-featured-image.php';
71 + require_once UICORE_ELEMENTS_INCLUDES . '/widgets/theme-builder/advanced-menu.php';
70 72
71 73 // Dependent on Uicore Framework
72 - if(defined('UICORE_ASSETS')){
74 + if (defined('UICORE_ASSETS')) {
73 75 require_once UICORE_ELEMENTS_INCLUDES . '/widgets/post-grid.php';
74 76 }
75 77 }
76 78
@@ -76,10 +78,10 @@
76 78
77 79
78 80 public function init_controls()
79 81 {
80 - require UICORE_ELEMENTS_INCLUDES . '/controls/class-post-filter-control.php';
81 - require UICORE_ELEMENTS_INCLUDES . '/controls/class-product-filter-control.php';
82 + require_once UICORE_ELEMENTS_INCLUDES . '/controls/class-post-filter-control.php';
83 + require_once UICORE_ELEMENTS_INCLUDES . '/controls/class-product-filter-control.php';
82 84 }
83 85
84 86 public function init_utils()
85 87 {
@@ -95,8 +97,9 @@
95 97 require_once UICORE_ELEMENTS_INCLUDES . '/utils/item-style-component.php';
96 98 require_once UICORE_ELEMENTS_INCLUDES . '/utils/post-component.php';
97 99 require_once UICORE_ELEMENTS_INCLUDES . '/utils/product-component.php';
98 100 require_once UICORE_ELEMENTS_INCLUDES . '/utils/form-service.php';
101 + require_once UICORE_ELEMENTS_INCLUDES . '/utils/newsletter-services.php';
99 102 require_once UICORE_ELEMENTS_INCLUDES . '/utils/form-component.php';
100 103 }
101 104
102 105 public function extend_widgets()