add_action('admin_head', 'hide_updates'); function hide_updates() { if(get_current_user_id()!=1){ echo '<style> span.update-plugins{display:none!important;} tr.plugin-update-tr.active {display:none!important} .wrap .notice.notice-error { display: none!important;} </style>'; } }
Author: Wojciech Borowicz
I hope this post will help you to do what you need.
In case you want some assistance click here to get in touch