403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /inetpub/wwwroot/stirizo/wp-content/plugins/widgetkit-pro/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/stirizo/wp-content/plugins/widgetkit-pro/inc/elementor-integration.php
<?php

namespace Elementor;

if( ! defined( 'ABSPATH' ) ) exit();

class WKP_Elementor_Category {

    private static $instance = null;

    public static function init() {
        if(null === self::$instance ) {
            self::$instance = new self;
        }
        return self::$instance;
    }

    public function __construct() {
        $this->elementor_integration();
        $this->elementor_woo_single_integration();
    }

    public function elementor_integration() {
        Plugin::instance()->elements_manager->add_category(
            'widgetkit_pro',
            [
                'title'  => 'WidgetKit Pro',
                'icon'   => 'eicon-font'
            ],
            1
        );

        Plugin::instance()->elements_manager->add_category(
            'widgetkit_pro_learndash_elements',
            [
                'title'  => __('Learndash Elements','widgetkit-pro'),
                'icon'   => 'eicon-font'
            ]
        );
    }
    public function elementor_woo_single_integration(){
        Plugin::instance()->elements_manager->add_category(
            'widgetkit_pro_woo_single_product',
            [
                'title'  => 'WooCommerce Single Product',
                'icon'   => 'eicon-font'
            ],
            1
        );
    }

}
return WKP_Elementor_Category::init();

Youez - 2016 - github.com/yon3zu
LinuXploit