0

function secret_plugin_custom() {
 global $wp_list_table;
 $hidearr = array('enable-jquery-migrate-helper/enable-jquery-migrate-helper.php' );
 $myplugins = $wp_list_table->items;
 foreach ($myplugins as $key => $val) {
 if (in_array($key,$hidearr)) {
  unset($wp_list_table->items[$key]);
 }
}
}
add_action('pre_current_active_plugins', 'secret_plugin_custom');

Jagdish Sarma Asked question July 24, 2021
Add a Comment