# Hiding WordPress update notifications

> Hide WordPress core, theme and plugin update notices in the dashboard with PHP code, useful for client sites.

Source: https://helpcenter.ruachost.com/wordpress/guides/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?

- 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

1. **Log in to WordPress** with an administrator account.
2. In the dashboard, go to **Appearance → Theme Editor**.
3. Select your active theme and open the **functions.php** file.
4. Add the following code snippet:

   ```
   // Disable WordPress core update notifications
   add_action('admin_menu', function() {
       remove_action('admin_notices', 'update_nag', 3);
   });

   // Disable plugin update notifications
   add_filter('pre_site_transient_update_plugins', function($value) {
       return null;
   });

   // Disable theme update notifications
   add_filter('pre_site_transient_update_themes', function($value) {
       return null;
   });
   ```
5. Save the file.
6. Refresh your WordPress dashboard → Update notifications will no longer appear.

## 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

- Add PHP code to `functions.php` to 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.
