Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function hide_plugin_trickspanda() {
- global $wp_list_table;
- $hidearr = array('jigoshop/jigoshop.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', 'hide_plugin_trickspanda');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement