• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Disable all update notifications in WordPress

By Abhishek Ghosh March 8, 2011 3:30 pm Updated on October 17, 2014

Disable all update notifications in WordPress

Advertisement

If you no longer wish to receive notifications of updates to your WordPress administration, a few lines of code in this tutorial will be sufficient to hide them. Updates of the core, themes and plugins will no longer appear!

 

Disable all update notifications in WordPress

 

 

Note: These tips only work for WordPress 3.0 onwards. We have not checked for WP 3.5 upwards.

 

Hide update notification from the core of WordPress

 

Log into your WordPress admin, then scroll down and click the Editor (under Appearance).

Then open the functions.php file from the list on the right.

Advertisement

---

In the end or beginning of file – including the theme TwentyTen, add the following lines of code:

 

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

 

Hide update notification of WordPress Themes

 

The procedure is identical. Reopen the functions.php file and paste these lines of code:

 

remove_action ('load-update-core.php', 'wp_update_themes');add_filter ('pre_site_transient_update_themes' create_function ('$ a', "return null;"));

 

Hide update notification of WordPress plugins

 

Again, just paste these lines in the functions.php file:

 

remove_action ('load-update-core.php', 'wp_update_plugins');add_filter ('pre_site_transient_update_plugins' create_function ('$ a', "return null;"));

 

Remember to Update the file.

WordPress is now configured to hide all notifications of updates.

Note : Please take backup of these files before any editing. We have not tested for current version of WP, From comments its verified they work fine up to 3.3.x. Your feedback is valuable.

 

SignatureTagged With how to disable wordpress root upgrade email
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Disable all update notifications in WordPress

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • OpenStack Swift & HPCloud CDN PHP Bindings : Basics

    Here is the basics of OpenStack Swift & HPCloud CDN PHP Bindings for the WordPress Plugin developers and those who works with PHP based CMS.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Comments

  1. AvatarIfat says

    May 18, 2011 at 8:45 pm

    thanks! its very useful for my wordpress blog ;)

  2. Avatarkip says

    December 5, 2011 at 5:45 pm

    this doesnt work with wp 3.2.1 …all it is here is rubbish

  3. AbhishekAbhishek says

    December 5, 2011 at 8:20 pm

    Which Theme / Theme Framework you are using?

  4. AvatarGaming Tips and Tricks says

    January 4, 2012 at 11:58 am

    Wow thanks.. i was looking for a plugin which help me to disable notification i donnow it will work with wordpress 3.3.1 let me try this

    Thanks

  5. AvatarCowboy says

    January 20, 2012 at 4:36 am

    **Before you make edits, backup functions.php

    I integrated this into theme folder functions.php file – zero luck :-/

  6. AbhishekAbhishek says

    January 20, 2012 at 10:45 am

    Unmodified functions.php file will be in the Theme’s package.

    It depends on the Theme / Theme framework. Kindly ask your Theme creator for function reference.

  7. AvatarAl Shelby says

    April 23, 2012 at 6:55 am

    This did not work for 3.3.2 so dont waste your time.

  8. AvatarJames says

    July 5, 2012 at 12:35 pm

    Try these:
    //plugin update notifications
    remove_action( ‘load-update-core.php’, ‘wp_update_plugins’ );
    add_filter( ‘pre_site_transient_update_plugins’, create_function( ‘$a’, “return null;” ) );

    //core update notifications
    add_filter( ‘pre_site_transient_update_core’, create_function ( ‘$a’, “return null;” ) );

  9. AvatarEmily says

    February 15, 2013 at 4:31 am

    Bleargh!! You’ve broken my whole site and now I can’t get it back! *sighhh* I hate being so code stupid.

  10. AbhishekAbhishek says

    February 15, 2013 at 9:17 am

    You possibly added extra bit of codes or added a leading space. Codes will be like this :

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

    If ?> already exists, you need not to add it, simply omit it. We have edited out from the main post above after watching that some visitors actually having the issue to understand the php closing part.

    Basically a bit knowledge of php is required for editing. Anyway, to get back your broken site to working, simply delete the modified files and replace them from backup or from same version of wordpress package or theme.

    After that, if you edit with new codes (we removed the ?> things), they should work. You can ask us for free help if you got stuck at any step.

  11. AvatarDave says

    March 13, 2013 at 4:08 am

    You are missing a comma in add_filter function :-|

  12. AbhishekAbhishek says

    March 13, 2013 at 7:09 am

    WP is removing it…

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Affiliate Marketing Condition/Commission ModelsNovember 28, 2023
  • How Affiliate Marketing WorksNovember 28, 2023
  • Phases of Product DevelopmentNovember 27, 2023
  • Sub-Areas of Direct MarketingNovember 27, 2023
  • Strengths and Weakness of Direct MarketingNovember 26, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy