← All changes
|
modules/floating-buttons/widgets/floating-bars-var-1.php
+5
-1
4.3.1
→
3.24.8
View file →
| @@ -4,9 +4,9 @@ | ||
| 4 | 4 | |
| 5 | 5 | use Elementor\Modules\FloatingButtons\Base\Widget_Floating_Bars_Base; |
| 6 | 6 | |
| 7 | 7 | if ( ! defined( 'ABSPATH' ) ) { |
| 8 | - exit; // Exit if accessed directly. | |
| 8 | + exit; // Exit if accessed directly | |
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * Elementor Floating Bars Var 1 widget. |
| @@ -26,8 +26,12 @@ | ||
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | public function get_group_name(): string { |
| 29 | 29 | return 'floating-bars'; |
| 30 | + } | |
| 31 | + | |
| 32 | + public function get_style_depends(): array { | |
| 33 | + return [ 'widget-floating-buttons' ]; | |
| 30 | 34 | } |
| 31 | 35 | |
| 32 | 36 | public function render(): void { |
| 33 | 37 | $this->add_inline_editing_attributes( 'announcement_text', 'none' ); |