How to hide WordPress updates admin messages in the dashboard

 In Functions, Wordpress Admin

How to hide WordPress updates admin messages in the dashboard

How to hide WordPress updates admin messages in the dashboard:

It is very important to keep WordPress up to date because of security threats and other backend functionalities, specially now a days due to its popularity.

Some cases we made lots of customisations on core WordPress files, then might not want this message to displayed, because it will overwrite all the files and client site will lost all the changes.

Below you can find a code snippet to hide dashboard admin notices you just need to add it into the function.php file or you can create a WordPress plugin with the code below.

add_action('admin_menu','ns_wphidenag');
function ns_wphidenag() {
 remove_action( 'admin_notices', 'update_nag', 3 );
}
Recommended Posts

Start typing and press Enter to search

Let's work together

I'd love to work with you! Please fill out my project form to tell me more about your project/work. I reply to all enquiries within 48 hours.

Availability

  • September - Limited
  • October - Available
  • November - Available

Rates

  • My day rate is £250.
  • I can provide a fixed price for your work.

Header Enquiry Form

  • This form collects your name, email address and telephone number so that I can respond to the enquiry(ies) that you submit via this website. Please check my privacy policy for the full story on how I use, protect and manage your submitted data.