Hide plugins for network

<?php

public function hide_plugins(){
global $current_blog;
if($current_blog->blog_id != 1){?>
<style type="text/css">
#wordpress-database-backup{display:none}
</style>
<?php
}
}
add_action('admin_head','hide_plugins');

?>

0 Comments

You must be logged in to post a comment.