forked from praem90/animated-accordion-elementor-widget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwidget.php
36 lines (27 loc) · 714 Bytes
/
widget.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
class Elementor_Animated_Accordion_Widget extends \Elementor\Widget_Base {
public function get_name() {
return 'animated_accordion';
}
public function get_title() {
return esc_html__( 'Animated Accordion', 'elementor-addon' );
}
public function get_icon() {
return 'eicon-code';
}
public function get_categories() {
return [ 'basic' ];
}
public function get_keywords() {
return [ 'accordion', 'animated', 'cloudi5' ];
}
public function get_script_depends() {
return [ 'animated-accordion-script' ];
}
public function get_style_depends() {
return [ 'animated-accordion-style' ];
}
protected function render() {
include __DIR__ . '/resources/views/accordion.php';
}
}