PluginProbe
UiCore Elements – Free widgets and templates for Elementor / 1.3.18
UiCore Elements – Free widgets and templates for Elementor v1.3.18
1.3.18 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 All 42 releases
← All changes | includes/widgets/custom-slider.php +6 -3 1.2.2 → 1.3.18 View file →
@@ -1,6 +1,8 @@
1 1 <?php
2 +
2 3 namespace UiCoreElements;
4 +
3 5 use Elementor\Plugin;
4 6
5 7 defined('ABSPATH') || exit();
6 8
@@ -10,9 +12,10 @@
10 12 * @author Lucas Marini Falbo <[email protected]>
11 13 * @since 1.0.7
12 14 */
13 15
14 -class CustomSlider extends CustomCarousel {
16 +class CustomSlider extends CustomCarousel
17 +{
15 18
16 19 public function get_name()
17 20 {
18 21 return 'uicore-custom-slider';
@@ -40,9 +43,9 @@
40 43 'carousel',
41 44 'animation', // hover animations
42 45 'entrance', // entrance basic style
43 46 ];
44 - if(!class_exists('\UiCore\Core') && !class_exists('\UiCoreAnimate\Base')){
47 + if (!class_exists('\UiCore\Core') && !class_exists('\UiCoreAnimate\Base')) {
45 48 $styles['e-animations'] = [ // entrance animations
46 49 'external' => true,
47 50 ];
48 51 }
@@ -85,5 +88,5 @@
85 88 ]
86 89 );
87 90 }
88 91 }
89 -\Elementor\Plugin::instance()->widgets_manager->register(new CustomSlider());
92 +\Elementor\Plugin::instance()->widgets_manager->register(new CustomSlider());