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-for-elementor/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/stirizo/wp-content/plugins/widgetkit-for-elementor/includes/widgetkit-pro-init.php
<?php 

class WKFE_PRO_Init{
    private static $instance = null;

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

    public function __construct(){
        add_filter('plugin_action_links', array($this, 'widgetkit_pro_link'),10, 2);
    }
    public function widgetkit_pro_link($links, $file) {
        static $this_plugin;
     
        if (!$this_plugin) {
            $this_plugin = plugin_basename(WK_FILE);
        }
        
        $settings_links = sprintf( '<a href="admin.php?page=widgetkit-settings#widgetkit-elements">' . __( 'Settings', 'widgetkit-for-elementor' ) . '</a>' );

        if(! class_exists( 'WidgetKit_Pro' ) ) {
            // check to make sure we are on the correct plugin
            if ($file == $this_plugin) {

                $plugin_links['WidgetKit_Pro'] = sprintf( '<a href="https://themesgrove.com/widgetkit-for-elementor/" target="_blank" style="color:#39a700eb; font-weight: bold;">' . __( 'Get Pro', 'widgetkit-for-elementor' ) . '</a>' );
        
                foreach($plugin_links as $link) {
                    array_unshift($links,$settings_links, $link);
                }
                
            }
        }
     
        return $links;
    }

}


?>

Youez - 2016 - github.com/yon3zu
LinuXploit