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


Sr. Software Engineer

Tagged with: , , , ,
Posted in Wordpress

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Recent Posts
%d bloggers like this: