How remove "Update" notification using hooks: WordPress

Hello Friends!
If you want to remove the wordpress and plugin “Update” notification from admin section using hooks then just use my code given below:
Screenshot-1 Screenshot-2

add_filter( 'pre_site_transient_update_plugins', create_function( '$a', "return null;" ) );
add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) );

Add these code in your themes function.php file! That’s it :)
Enjoy Code! | Raghunath Blog

Leave a Reply

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