contact-form7-handler.php
30 lines
| 1 | <?php |
| 2 | namespace Elementor; |
| 3 | |
| 4 | class ElementsKit_Widget_Contact_Form7_Handler extends \ElementsKit_Lite\Core\Handler_Widget{ |
| 5 | |
| 6 | static function get_name() { |
| 7 | return 'elementskit-contact-form7'; |
| 8 | } |
| 9 | |
| 10 | static function get_title() { |
| 11 | return esc_html__( 'Contact Form 7', 'elementskit-lite' ); |
| 12 | } |
| 13 | |
| 14 | static function get_icon() { |
| 15 | return 'eicon-mail ekit-widget-icon'; |
| 16 | } |
| 17 | |
| 18 | static function get_categories() { |
| 19 | return [ 'elementskit' ]; |
| 20 | } |
| 21 | |
| 22 | static function get_dir() { |
| 23 | return \ElementsKit_Lite::widget_dir() . 'contact-form7/'; |
| 24 | } |
| 25 | |
| 26 | static function get_url() { |
| 27 | return \ElementsKit_Lite::widget_url() . 'contact-form7/'; |
| 28 | } |
| 29 | } |
| 30 |