How to disable all plugins/themes updates on all sub-sites?

As per plugin(s) activated on sub-sites, some plugins/themes will pop up notifications/notices and confusing clients. Any idea how to disable all and left super admin's notice only (which using Branda plugin)?

  • Mohmmad Sharab
    • Staff

    Hi iamJayChong,

    hope you are having a great day.

    We don’t have this feature in Branda plugin out of the box. But you can use the following code to hide all the notices for any user role on your network’s sites except the Super Admin role.
    Please create a disable-admin-notices.php file and add the code below. Upload the file to wp-content/mu-plugins/ folder. If mu-plugins folder doesn't exist, just create it in thewp-content folder.

    function hide_update_noticee_to_all_but_admin_users()
    if (!is_super_admin()) {
    remove_all_actions( 'admin_notices' );
    add_action( 'admin_head', 'hide_update_noticee_to_all_but_admin_users', 1 );

    Hope this helps. Let me know if this works for you and if you need any further assistance regarding this.

    Mohammd Sharab

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.