Adv_Accordion.php
4 years ago
Adv_Tabs.php
4 years ago
Advanced_Data_Table.php
4 years ago
Better_Payment.php
4 years ago
Betterdocs_Category_Box.php
4 years ago
Betterdocs_Category_Grid.php
4 years ago
Betterdocs_Search_Form.php
4 years ago
Caldera_Forms.php
4 years ago
Career_Page.php
4 years ago
Contact_Form_7.php
4 years ago
Content_Ticker.php
4 years ago
Countdown.php
4 years ago
Creative_Button.php
4 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
4 years ago
Data_Table.php
4 years ago
Dual_Color_Header.php
4 years ago
EmbedPress.php
4 years ago
Event_Calendar.php
4 years ago
Facebook_Feed.php
4 years ago
Fancy_Text.php
4 years ago
Feature_List.php
4 years ago
Filterable_Gallery.php
4 years ago
Flip_Box.php
4 years ago
FluentForm.php
4 years ago
Formstack.php
4 years ago
GravityForms.php
4 years ago
Image_Accordion.php
4 years ago
Info_Box.php
4 years ago
Interactive_Circle.php
4 years ago
Login_Register.php
4 years ago
NinjaForms.php
4 years ago
Post_Grid.php
4 years ago
Post_Timeline.php
4 years ago
Pricing_Table.php
4 years ago
Product_Grid.php
4 years ago
Progress_Bar.php
4 years ago
Simple_Menu.php
4 years ago
Sticky_Video.php
4 years ago
Team_Member.php
4 years ago
Testimonial.php
4 years ago
Tooltip.php
4 years ago
Twitter_Feed.php
4 years ago
TypeForm.php
4 years ago
WeForms.php
4 years ago
Woo_Cart.php
4 years ago
Woo_Checkout.php
4 years ago
Woo_Product_Carousel.php
4 years ago
Woo_Product_Compare.php
4 years ago
Woo_Product_Gallery.php
4 years ago
Woocommerce_Review.php
4 years ago
WpForms.php
4 years ago
Woocommerce_Review.php
74 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 | class Woocommerce_Review extends Widget_Base { |
| 12 | |
| 13 | public function get_name() { |
| 14 | return 'eael-woocommerce-review'; |
| 15 | } |
| 16 | |
| 17 | public function get_title() { |
| 18 | return esc_html__( 'ReviewX Woo Review', 'essential-addons-for-elementor-lite'); |
| 19 | } |
| 20 | |
| 21 | public function get_icon() { |
| 22 | return 'eaicon-reviewx'; |
| 23 | } |
| 24 | |
| 25 | public function get_categories() { |
| 26 | return [ 'essential-addons-elementor' ]; |
| 27 | } |
| 28 | |
| 29 | public function get_keywords() { |
| 30 | return [ |
| 31 | 'reviewx', |
| 32 | 'woo review', |
| 33 | 'woo', |
| 34 | 'woocommerce', |
| 35 | 'comment', |
| 36 | 'review', |
| 37 | 'addons', |
| 38 | 'ea', |
| 39 | 'essential addons', |
| 40 | 'woocommerce review' |
| 41 | ]; |
| 42 | } |
| 43 | |
| 44 | public function get_custom_help_url() { |
| 45 | return 'https://reviewx.io/docs'; |
| 46 | } |
| 47 | |
| 48 | protected function register_controls() { |
| 49 | $this->start_controls_section( |
| 50 | 'eael_global_warning', |
| 51 | [ |
| 52 | 'label' => __('Warning!', 'essential-addons-for-elementor-lite'), |
| 53 | ] |
| 54 | ); |
| 55 | |
| 56 | $this->add_control( |
| 57 | 'eael_global_warning_text', |
| 58 | [ |
| 59 | 'type' => Controls_Manager::RAW_HTML, |
| 60 | 'raw' => __('<strong>ReviewX</strong> is not installed/activated on your site. Please install and activate <a href="plugin-install.php?s=reviewx&tab=search&type=term" target="_blank">ReviewX</a> first.', |
| 61 | 'essential-addons-for-elementor-lite'), |
| 62 | 'content_classes' => 'eael-warning', |
| 63 | ] |
| 64 | ); |
| 65 | |
| 66 | $this->end_controls_section(); |
| 67 | } |
| 68 | |
| 69 | |
| 70 | protected function render() { |
| 71 | return; |
| 72 | } |
| 73 | } |
| 74 |