{"id":2562,"date":"2016-11-03T22:00:34","date_gmt":"2016-11-03T22:00:34","guid":{"rendered":"http:\/\/mydiscover.net.in\/sms\/?page_id=2562"},"modified":"2016-11-03T22:00:34","modified_gmt":"2016-11-03T22:00:34","slug":"disable-update-notifications-and-maintenance-nags-in-wordpress","status":"publish","type":"page","link":"https:\/\/mydiscover.net.in\/blog\/disable-update-notifications-and-maintenance-nags-in-wordpress\/","title":{"rendered":"Disable Update Notifications and Maintenance Nags in WordPress"},"content":{"rendered":"<p>For all the WordPress users, it is really annoying when WordPress update notice is displayed on the dashboard\u00a0if there are any upgrade available for the installed WordPress version as shown in the figure below. The notice will not clear until the WordPress is upgraded to latest version. Similarly the update notice for installed plugins &amp; themes is displayed on the WordPress dashboard, plugins &amp; themes pages. Actually it is good to know that updates are available but\u00a0administrators who maintain multiple installations of WordPress on behalf of other people (eg. clients) may not want theme update notifications to be shown to the users of these installations, then disabling such notifications becomes necessary. In this article, I will show how to disable update notifications for core WordPress as well as for plugins and themes.<br \/>\nThis scenario is also very important in case of WordPress Multisite (Network) installation where Super Admin can disable the notifications for individual site\u2019s administrators as well.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2563\" src=\"http:\/\/mydiscover.net.in\/sms\/wp-content\/uploads\/2016\/11\/wpup.png\" alt=\"wpup\" width=\"763\" height=\"440\" \/><br \/>\n&nbsp;<br \/>\nSuch nags are displayed to the admin &amp; all website users who log-in to user dashboard.<br \/>\nIn this article you will find\u00a0some simple tricks available to disable the update notifications &amp; other nags in WordPress.<\/p>\n<h2>Disable Update WordPress nags with Plugin\u2019s and Theme\u2019s Update Notifications\u00a0:<\/h2>\n<h3>1. To Disable Update WordPress nag :<\/h3>\n<p>Insert the following code to the functions.php file of your active theme. It will remove the WordPress update nag e.g.\u00a0WordPress 3.9.1\u00a0is available!\u00a0Please update now,\u00a0from the all users dashboard, admin dashboard &amp; from Updates page as well.<\/p>\n<pre class=\"prettyprint prettyprinted\"><span class=\"pln\">add_action<\/span><span class=\"pun\">(<\/span><span class=\"str\">'after_setup_theme'<\/span><span class=\"pun\">,<\/span><span class=\"str\">'remove_core_updates'<\/span><span class=\"pun\">);<\/span>\n<span class=\"kwd\">function<\/span><span class=\"pln\"> remove_core_updates<\/span><span class=\"pun\">()<\/span>\n<span class=\"pun\">{<\/span>\n <span class=\"kwd\">if<\/span><span class=\"pun\">(!<\/span><span class=\"pln\"> current_user_can<\/span><span class=\"pun\">(<\/span><span class=\"str\">'update_core'<\/span><span class=\"pun\">)){<\/span><span class=\"kwd\">return<\/span><span class=\"pun\">;}<\/span><span class=\"pln\">\n add_action<\/span><span class=\"pun\">(<\/span><span class=\"str\">'init'<\/span><span class=\"pun\">,<\/span><span class=\"pln\"> create_function<\/span><span class=\"pun\">(<\/span><span class=\"str\">'$a'<\/span><span class=\"pun\">,<\/span><span class=\"str\">\"remove_action( 'init', 'wp_version_check' );\"<\/span><span class=\"pun\">),<\/span><span class=\"lit\">2<\/span><span class=\"pun\">);<\/span><span class=\"pln\">\n add_filter<\/span><span class=\"pun\">(<\/span><span class=\"str\">'pre_option_update_core'<\/span><span class=\"pun\">,<\/span><span class=\"str\">'__return_null'<\/span><span class=\"pun\">);<\/span><span class=\"pln\">\n add_filter<\/span><span class=\"pun\">(<\/span><span class=\"str\">'pre_site_transient_update_core'<\/span><span class=\"pun\">,<\/span><span class=\"str\">'__return_null'<\/span><span class=\"pun\">);<\/span>\n<span class=\"pun\">}<\/span><\/pre>\n<h3>2. To Disable Plugin Update Notifications :<\/h3>\n<p>Insert the following code to the functions.php file of your active theme. It will remove the update notifications of all the installed plugins.<\/p>\n<pre class=\"prettyprint prettyprinted\"><span class=\"pln\">remove_action<\/span><span class=\"pun\">(<\/span><span class=\"str\">'load-update-core.php'<\/span><span class=\"pun\">,<\/span><span class=\"str\">'wp_update_plugins'<\/span><span class=\"pun\">);<\/span><span class=\"pln\">\nadd_filter<\/span><span class=\"pun\">(<\/span><span class=\"str\">'pre_site_transient_update_plugins'<\/span><span class=\"pun\">,<\/span><span class=\"str\">'__return_null'<\/span><span class=\"pun\">);<\/span><\/pre>\n<h3>3. To Disable all the Nags &amp; Notifications :<\/h3>\n<p>Insert the following code the functions.php file of your active theme. This code disables all the updates notifications regarding plugins, themes &amp; WordPress completely.<\/p>\n<pre class=\"prettyprint prettyprinted\"><span class=\"kwd\">function<\/span><span class=\"pln\"> remove_core_updates<\/span><span class=\"pun\">(){<\/span>\n<span class=\"kwd\">global<\/span><span class=\"pln\"> $wp_version<\/span><span class=\"pun\">;<\/span><span class=\"kwd\">return<\/span><span class=\"pun\">(<\/span><span class=\"kwd\">object<\/span><span class=\"pun\">)<\/span><span class=\"pln\"> array<\/span><span class=\"pun\">(<\/span><span class=\"str\">'last_checked'<\/span><span class=\"pun\">=&gt;<\/span><span class=\"pln\"> time<\/span><span class=\"pun\">(),<\/span><span class=\"str\">'version_checked'<\/span><span class=\"pun\">=&gt;<\/span><span class=\"pln\"> $wp_version<\/span><span class=\"pun\">,);<\/span>\n<span class=\"pun\">}<\/span><span class=\"pln\">\nadd_filter<\/span><span class=\"pun\">(<\/span><span class=\"str\">'pre_site_transient_update_core'<\/span><span class=\"pun\">,<\/span><span class=\"str\">'remove_core_updates'<\/span><span class=\"pun\">);<\/span><span class=\"pln\">\nadd_filter<\/span><span class=\"pun\">(<\/span><span class=\"str\">'pre_site_transient_update_plugins'<\/span><span class=\"pun\">,<\/span><span class=\"str\">'remove_core_updates'<\/span><span class=\"pun\">);<\/span><span class=\"pln\">\nadd_filter<\/span><span class=\"pun\">(<\/span><span class=\"str\">'pre_site_transient_update_themes'<\/span><span class=\"pun\">,<\/span><span class=\"str\">'remove_core_updates'<\/span><span class=\"pun\">);<\/span><\/pre>\n<p>Apart form these codes there are some WordPress plugins available to Disable WordPress Update Notifications &amp; Nags :<br \/>\nIf you install &amp; activate these plugins, you will have to keep yourself updated with the latest version of your active WordPress, plugins &amp; themes so that your blog or website wont be susceptible to security vulnerabilities or performance issues. Just deactivate the plugin for short period of time &amp; update yourself.<\/p>\n<h2>WordPress plugins to\u00a0Disable Update WordPress nags with Plugin\u2019s and Theme\u2019s Update Notifications\u00a0:<\/h2>\n<h3>4. <a href=\"http:\/\/wordpress.org\/plugins\/disable-wordpress-updates\/\" target=\"_blank\" rel=\"noopener noreferrer\">Disable All WordPress Updates<\/a> :<\/h3>\n<p>This plugin will disable all the update notifications of all the plugins &amp; themes installed on your WordPress. It will also disable the WordPress update nag e.g.\u00a0WordPress 3.9.1\u00a0is available!\u00a0Please update now,\u00a0from the all users &amp; admin dashboard including cronjobs, and prevents any notifications from being displayed. It will remove all the update notifications from the\u00a0Plugins page, dashboard &amp; Updates page.<\/p>\n<h3>5.\u00a0<a href=\"http:\/\/wordpress.org\/plugins\/disable-wordpress-core-update\/\" target=\"_blank\" rel=\"noopener noreferrer\">Disable WordPress Core Updates<\/a> :<\/h3>\n<p>This plugin prevents WordPress from checking for core updates, and prevents any notifications from being displayed in the admin area. i.e. with the help of this plugin your dashboard will get rid of WordPress Update nags.\u00a0It will remove all the update notifications from the\u00a0Updates page as well.<\/p>\n<h3>6.\u00a0<a href=\"http:\/\/wordpress.org\/plugins\/disable-wordpress-plugin-updates\/\" target=\"_blank\" rel=\"noopener noreferrer\">Disable WordPress Plugin Updates<\/a> :<\/h3>\n<p>The plugin prevents WordPress from checking for plugin updates, and prevents any notifications from being displayed on the Plugins page, dashboard &amp; Updates page.<\/p>\n<h3>7.\u00a0<a href=\"http:\/\/wordpress.org\/plugins\/disable-wordpress-theme-updates\/\" target=\"_blank\" rel=\"noopener noreferrer\">Disable WordPress Theme Updates<\/a> :<\/h3>\n<p>The plugin prevents WordPress from checking for plugin updates, and prevents any notifications from being displayed on the Theme page, dashboard &amp; Updates page.<br \/>\nI hope with the help of this article you will surely be able to Disable Update WordPress nags with Plugin\u2019s and Theme\u2019s Update Notifications\u00a0appearing on your WordPress dashboard. If you have any query or suggestion regarding the same, do share with us.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For all the WordPress users, it is really annoying when WordPress update notice is displayed on the dashboard\u00a0if there are any upgrade available for the installed WordPress version as shown in the figure below. The notice will not clear until the WordPress is upgraded to latest version. Similarly the update notice for installed plugins &amp; <\/p>\n<div class=\"read-more-text\"><a href=\"https:\/\/mydiscover.net.in\/blog\/disable-update-notifications-and-maintenance-nags-in-wordpress\/\" class=\"read-more\">continue reading<\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2562","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Disable Update Notifications and Maintenance Nags in WordPress - My Discover<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mydiscover.net.in\/blog\/disable-update-notifications-and-maintenance-nags-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Disable Update Notifications and Maintenance Nags in WordPress - My Discover\" \/>\n<meta property=\"og:description\" content=\"For all the WordPress users, it is really annoying when WordPress update notice is displayed on the dashboard\u00a0if there are any upgrade available for the installed WordPress version as shown in the figure below. The notice will not clear until the WordPress is upgraded to latest version. Similarly the update notice for installed plugins &amp; continue reading\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mydiscover.net.in\/blog\/disable-update-notifications-and-maintenance-nags-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"My Discover\" \/>\n<meta property=\"og:image\" content=\"http:\/\/mydiscover.net.in\/sms\/wp-content\/uploads\/2016\/11\/wpup.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/disable-update-notifications-and-maintenance-nags-in-wordpress\\\/\",\"url\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/disable-update-notifications-and-maintenance-nags-in-wordpress\\\/\",\"name\":\"Disable Update Notifications and Maintenance Nags in WordPress - My Discover\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/disable-update-notifications-and-maintenance-nags-in-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/disable-update-notifications-and-maintenance-nags-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/mydiscover.net.in\\\/sms\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/wpup.png\",\"datePublished\":\"2016-11-03T22:00:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/disable-update-notifications-and-maintenance-nags-in-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/disable-update-notifications-and-maintenance-nags-in-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/disable-update-notifications-and-maintenance-nags-in-wordpress\\\/#primaryimage\",\"url\":\"http:\\\/\\\/mydiscover.net.in\\\/sms\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/wpup.png\",\"contentUrl\":\"http:\\\/\\\/mydiscover.net.in\\\/sms\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/wpup.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/disable-update-notifications-and-maintenance-nags-in-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Disable Update Notifications and Maintenance Nags in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/\",\"name\":\"My Discover\",\"description\":\"Uncover New Possibilities\",\"publisher\":{\"@id\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/#\\\/schema\\\/person\\\/642f364af2ec34384ea1dd5227cf1ec9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/#\\\/schema\\\/person\\\/642f364af2ec34384ea1dd5227cf1ec9\",\"name\":\"admin\",\"logo\":{\"@id\":\"https:\\\/\\\/mydiscover.net.in\\\/blog\\\/#\\\/schema\\\/person\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Disable Update Notifications and Maintenance Nags in WordPress - My Discover","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mydiscover.net.in\/blog\/disable-update-notifications-and-maintenance-nags-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"Disable Update Notifications and Maintenance Nags in WordPress - My Discover","og_description":"For all the WordPress users, it is really annoying when WordPress update notice is displayed on the dashboard\u00a0if there are any upgrade available for the installed WordPress version as shown in the figure below. The notice will not clear until the WordPress is upgraded to latest version. Similarly the update notice for installed plugins &amp; continue reading","og_url":"https:\/\/mydiscover.net.in\/blog\/disable-update-notifications-and-maintenance-nags-in-wordpress\/","og_site_name":"My Discover","og_image":[{"url":"http:\/\/mydiscover.net.in\/sms\/wp-content\/uploads\/2016\/11\/wpup.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mydiscover.net.in\/blog\/disable-update-notifications-and-maintenance-nags-in-wordpress\/","url":"https:\/\/mydiscover.net.in\/blog\/disable-update-notifications-and-maintenance-nags-in-wordpress\/","name":"Disable Update Notifications and Maintenance Nags in WordPress - My Discover","isPartOf":{"@id":"https:\/\/mydiscover.net.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mydiscover.net.in\/blog\/disable-update-notifications-and-maintenance-nags-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/mydiscover.net.in\/blog\/disable-update-notifications-and-maintenance-nags-in-wordpress\/#primaryimage"},"thumbnailUrl":"http:\/\/mydiscover.net.in\/sms\/wp-content\/uploads\/2016\/11\/wpup.png","datePublished":"2016-11-03T22:00:34+00:00","breadcrumb":{"@id":"https:\/\/mydiscover.net.in\/blog\/disable-update-notifications-and-maintenance-nags-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mydiscover.net.in\/blog\/disable-update-notifications-and-maintenance-nags-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mydiscover.net.in\/blog\/disable-update-notifications-and-maintenance-nags-in-wordpress\/#primaryimage","url":"http:\/\/mydiscover.net.in\/sms\/wp-content\/uploads\/2016\/11\/wpup.png","contentUrl":"http:\/\/mydiscover.net.in\/sms\/wp-content\/uploads\/2016\/11\/wpup.png"},{"@type":"BreadcrumbList","@id":"https:\/\/mydiscover.net.in\/blog\/disable-update-notifications-and-maintenance-nags-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mydiscover.net.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Disable Update Notifications and Maintenance Nags in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/mydiscover.net.in\/blog\/#website","url":"https:\/\/mydiscover.net.in\/blog\/","name":"My Discover","description":"Uncover New Possibilities","publisher":{"@id":"https:\/\/mydiscover.net.in\/blog\/#\/schema\/person\/642f364af2ec34384ea1dd5227cf1ec9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mydiscover.net.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/mydiscover.net.in\/blog\/#\/schema\/person\/642f364af2ec34384ea1dd5227cf1ec9","name":"admin","logo":{"@id":"https:\/\/mydiscover.net.in\/blog\/#\/schema\/person\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/mydiscover.net.in\/blog\/wp-json\/wp\/v2\/pages\/2562","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mydiscover.net.in\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mydiscover.net.in\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mydiscover.net.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mydiscover.net.in\/blog\/wp-json\/wp\/v2\/comments?post=2562"}],"version-history":[{"count":0,"href":"https:\/\/mydiscover.net.in\/blog\/wp-json\/wp\/v2\/pages\/2562\/revisions"}],"wp:attachment":[{"href":"https:\/\/mydiscover.net.in\/blog\/wp-json\/wp\/v2\/media?parent=2562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}