How To Disable Auto Updates In WordPress

How To Disable Update Notifications For Non-Administrators In WordPress

If you prefer to not allow your clients to update their own WordPress installs, you can disable update notifications for non-administrators in WordPress. Here’s a code which will allow only admin of the WordPress website to update the core of the site, not other users.

You can add this code to a client’s website to prevent them from messing with the core, and not allowing them to mess-up with the latest updates.

Just put the following code into functions.php file of your current theme: