Adv_Accordion.php
2 years ago
Adv_Tabs.php
2 years ago
Advanced_Data_Table.php
2 years ago
Better_Payment.php
4 years ago
Betterdocs_Category_Box.php
2 years ago
Betterdocs_Category_Grid.php
2 years ago
Betterdocs_Search_Form.php
2 years ago
Business_Reviews.php
2 years ago
Caldera_Forms.php
2 years ago
Career_Page.php
4 years ago
Contact_Form_7.php
2 years ago
Content_Ticker.php
2 years ago
Countdown.php
2 years ago
Creative_Button.php
2 years ago
Crowdfundly_All_Campaign.php
4 years ago
Crowdfundly_Organization.php
4 years ago
Crowdfundly_Single_Campaign.php
4 years ago
Cta_Box.php
2 years ago
Data_Table.php
2 years ago
Dual_Color_Header.php
2 years ago
EmbedPress.php
4 years ago
Event_Calendar.php
2 years ago
Facebook_Feed.php
2 years ago
Fancy_Text.php
2 years ago
Feature_List.php
2 years ago
Filterable_Gallery.php
2 years ago
Flip_Box.php
2 years ago
FluentForm.php
2 years ago
Formstack.php
2 years ago
GravityForms.php
2 years ago
Image_Accordion.php
2 years ago
Info_Box.php
2 years ago
Interactive_Circle.php
2 years ago
Login_Register.php
2 years ago
NFT_Gallery.php
2 years ago
NinjaForms.php
2 years ago
Post_Grid.php
2 years ago
Post_Timeline.php
2 years ago
Pricing_Table.php
2 years ago
Product_Grid.php
2 years ago
Progress_Bar.php
2 years ago
SVG_Draw.php
3 years ago
Simple_Menu.php
2 years ago
Sticky_Video.php
2 years ago
Team_Member.php
2 years ago
Testimonial.php
2 years ago
Tooltip.php
2 years ago
Twitter_Feed.php
2 years ago
TypeForm.php
2 years ago
WeForms.php
2 years ago
Woo_Cart.php
2 years ago
Woo_Checkout.php
2 years ago
Woo_Product_Carousel.php
2 years ago
Woo_Product_Compare.php
4 years ago
Woo_Product_Gallery.php
2 years ago
Woocommerce_Review.php
4 years ago
WpForms.php
2 years ago
index.php
3 years ago
EmbedPress.php
76 lines
| 1 | <?php |
| 2 | namespace Essential_Addons_Elementor\Elements; |
| 3 | |
| 4 | // If this file is called directly, abort. |
| 5 | if (!defined('ABSPATH')) { |
| 6 | exit; |
| 7 | } |
| 8 | |
| 9 | use \Elementor\Controls_Manager; |
| 10 | use \Elementor\Widget_Base; |
| 11 | |
| 12 | class EmbedPress extends Widget_Base { |
| 13 | |
| 14 | public function get_name() { |
| 15 | return 'eael-embedpress'; |
| 16 | } |
| 17 | |
| 18 | public function get_title() { |
| 19 | return esc_html__( 'EmbedPress', 'essential-addons-for-elementor-lite'); |
| 20 | } |
| 21 | |
| 22 | public function get_icon() { |
| 23 | return 'eaicon-embedpress'; |
| 24 | } |
| 25 | |
| 26 | public function get_categories() { |
| 27 | return [ 'essential-addons-elementor' ]; |
| 28 | } |
| 29 | |
| 30 | public function get_keywords() { |
| 31 | return [ |
| 32 | 'embedpress', |
| 33 | 'ea embedpress', |
| 34 | 'audio', |
| 35 | 'video', |
| 36 | 'map', |
| 37 | 'youtube', |
| 38 | 'vimeo', |
| 39 | 'wistia', |
| 40 | 'google', |
| 41 | 'ea', |
| 42 | 'essential addons' |
| 43 | ]; |
| 44 | } |
| 45 | |
| 46 | public function get_custom_help_url() { |
| 47 | return 'https://embedpress.com/documentation'; |
| 48 | } |
| 49 | |
| 50 | protected function register_controls() { |
| 51 | $this->start_controls_section( |
| 52 | 'eael_global_warning', |
| 53 | [ |
| 54 | 'label' => __('Warning!', 'essential-addons-for-elementor-lite'), |
| 55 | ] |
| 56 | ); |
| 57 | |
| 58 | $this->add_control( |
| 59 | 'eael_global_warning_text', |
| 60 | [ |
| 61 | 'type' => Controls_Manager::RAW_HTML, |
| 62 | 'raw' => __('<strong>EmbedPress</strong> is not installed/activated on your site. Please install and activate <a href="plugin-install.php?s=embedpress&tab=search&type=term" target="_blank">EmbedPress</a> first.', |
| 63 | 'essential-addons-for-elementor-lite'), |
| 64 | 'content_classes' => 'eael-warning', |
| 65 | ] |
| 66 | ); |
| 67 | |
| 68 | $this->end_controls_section(); |
| 69 | } |
| 70 | |
| 71 | |
| 72 | protected function render() { |
| 73 | return; |
| 74 | } |
| 75 | } |
| 76 |