Server IP : 172.24.0.40 / Your IP : 216.73.216.10 Web Server : Apache System : Linux dbweb26.ust.edu.ph 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64 User : apache ( 48) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/pjahs.dbweb26.0619250700/public_html/wp-content/plugins/metform/widgets/ |
Upload File : |
<?php namespace MetForm\Widgets; defined( 'ABSPATH' ) || exit; trait Widget_Notice{ /** * Adding Go Pro message to all widgets */ public function insert_pro_message() { return; if(!class_exists('\MetForm_Pro\Plugin')){ $this->start_controls_section( 'ekit_section_pro', [ 'label' => __('Go Pro for More Features', 'metform'), ] ); $this->add_control( 'ekit_control_get_pro', [ 'label' => __('Unlock more possibilities', 'metform'), 'type' => \Elementor\Controls_Manager::CHOOSE, 'options' => [ '1' => [ 'title' => '', 'icon' => 'fa fa-unlock-alt', ], ], 'default' => '1', 'description' => '<span class="ekit-widget-pro-feature"> Get the <a href="https://wpmet.com/metform-pricing" target="_blank">Pro version</a> for more awesome elements and powerful modules.</span>', ] ); $this->end_controls_section(); } } }