Sindbad~EG File Manager
<?php
namespace PressElements\Widgets;
use Elementor\Widget_Base ;
use Elementor\Controls_Manager ;
use Elementor\Scheme_Color ;
use Elementor\Scheme_Typography ;
use Elementor\Group_Control_Typography ;
use Elementor\Group_Control_Text_Shadow ;
use Elementor\Group_Control_Box_Shadow ;
// Exit if accessed directly
if ( !defined( 'ABSPATH' ) ) {
exit;
}
/**
* Notes
*
* Elementor widget for notes.
*
* @since 1.6.0
*/
class Press_Elements_Notes extends Widget_Base
{
public function get_name()
{
return 'notes';
}
public function get_title()
{
return __( 'Notes', 'press-elements' );
}
public function get_icon()
{
return 'fa fa-thumb-tack';
}
public function get_categories()
{
return [ 'press-elements-effects' ];
}
protected function _register_controls()
{
$this->start_controls_section( 'section_pro_feature', [
'label' => __( 'Notes', 'press-elements' ),
] );
$this->add_control( 'pro_feature', [
'type' => Controls_Manager::RAW_HTML,
'raw' => '<div class="elementor-panel-nerd-box">
<i class="elementor-panel-nerd-box-icon fa fa-lock"></i>
<div class="elementor-panel-nerd-box-title">' . __( 'Premium Feature', 'press-elements' ) . '</div>
<div class="elementor-panel-nerd-box-message">' . sprintf(
/* translators: %s: Press Elements Pro */
__( 'This feature is only available on "%s".', 'press-elements' ),
'<strong>' . __( 'Press Elements Pro', 'press-elements' ) . '</strong>'
) . '</div>
<a class="elementor-panel-nerd-box-link elementor-button elementor-button-default elementor-go-pro" href="' . press_elements_freemius()->get_upgrade_url() . '" target="_blank">' . __( 'Upgrade Now!', 'press-elements' ) . '</a>
</div>',
'separator' => 'none',
] );
$this->end_controls_section();
}
protected function render()
{
}
protected function _content_template()
{
}
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists