Hiding WordPress update notifications
By default, WordPress displays update notifications for the core, themes, and plugins in the admin dashboard. While these are important for security, some site owners prefer to hide them, especially when clients or non‑technical users have access to the dashboard. On ruachost.com, you can hide update notifications using PHP code.
Why Hide Update Notifications?
Section titled “Why Hide Update Notifications?”- Prevents confusion for non‑technical users.
- Keeps the dashboard clean and distraction‑free.
- Useful when updates are managed centrally by administrators or developers.
Steps to Hide Update Notifications
Section titled “Steps to Hide Update Notifications”-
Log in to WordPress with an administrator account.
-
In the dashboard, go to Appearance → Theme Editor.
-
Select your active theme and open the functions.php file.
-
Add the following code snippet:
// Disable WordPress core update notificationsadd_action('admin_menu', function() {remove_action('admin_notices', 'update_nag', 3);});// Disable plugin update notificationsadd_filter('pre_site_transient_update_plugins', function($value) {return null;});// Disable theme update notificationsadd_filter('pre_site_transient_update_themes', function($value) {return null;}); -
Save the file.
-
Refresh your WordPress dashboard → Update notifications will no longer appear.
Important Notes
Section titled “Important Notes”- Hiding notifications does not stop WordPress from checking for updates.
- Updates are still available, but you won’t see alerts in the dashboard.
- Always keep your site secure by applying updates regularly, even if notifications are hidden.
- Consider using a child theme to preserve changes during updates.
✅ Summary
Section titled “✅ Summary”- Add PHP code to
functions.phpto hide update notifications. - Notifications for core, plugins, and themes will be suppressed.
- WordPress sites hosted at ruachost.com can now maintain a cleaner dashboard for clients.