How to hide update message from wordpress admin panel

In this article, we given code and shown you. How to hide update message from wordpress admin panel. Some times Admin update message are interpreting on dashboard.

When new wordpress version came. we got a message in wordpress admin panel as follows:

WordPress ….. is available! Please update.

How to hide update message from wordpress admin panel

Many people does not want to see that message or hide this message from wordpress admin panel

How to hide update message from wordpress admin panel

Just Open functions.php file from wordpres theme and put following code in that file:


add_action('admin_menu','hide_update_message');
 function hide_update_message()
 {
 remove_action( 'admin_notices', 'update_nag', 3 );
remove_filter( 'update_footer', 'core_update_footer' );

}

This code will run in wordpress and wordpressMU also.

Add a Comment

Your email address will not be published. Required fields are marked *