{"id":3684,"date":"2020-06-23T09:19:16","date_gmt":"2020-06-23T13:19:16","guid":{"rendered":"https:\/\/learndash.com\/support\/?post_type=docs&#038;p=3684"},"modified":"2024-11-26T17:11:30","modified_gmt":"2024-11-26T22:11:30","password":"","slug":"why-are-the-license-updates-and-license-checks-disabled-on-my-site","status":"publish","type":"docs","link":"https:\/\/learndash.com\/support\/kb\/resources\/faqs\/why-are-the-license-updates-and-license-checks-disabled-on-my-site\/","title":{"rendered":"Why are the license updates and license checks disabled?"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1946\" height=\"178\" src=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-23-09.17.41.png\" alt=\"\" class=\"wp-image-3685\" srcset=\"https:\/\/learndash.com\/support\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-23-09.17.41.png 1946w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-23-09.17.41-400x37.png 400w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-23-09.17.41-800x73.png 800w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-23-09.17.41-768x70.png 768w, https:\/\/learndash.com\/support\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-23-09.17.41-1536x140.png 1536w\" sizes=\"auto, (max-width: 1946px) 100vw, 1946px\" \/><\/figure><\/div>\n\n\n<p>If you see the above message on your WordPressdashboard, then this indicates that the LearnDash update and license checks have been disabled using the following define (located in the wp-config.php file of your site):<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"\/\/ Add the define and the code to your wp-config.php. \n\/\/\/ Do not add to the theme functions.php because it needs to be set before LearnDash is loaded by WordPress.\n\n\/\/ For LearnDash 3.1.8 and higher only this define is needed.\nif ( ! defined( 'LEARNDASH_UPDATES_ENABLED' ) ) {\n\tdefine( 'LEARNDASH_UPDATES_ENABLED', false );\n}\n\n\n\/\/ For LearnDash 3.1.7 and lower the define and snippet ar needed.\nif ( ! defined( 'LEARNDASH_ADDONS_UPDATER' ) ) {\n\tdefine( 'LEARNDASH_ADDONS_UPDATER', false );\n}\n\nif ( ! class_exists( 'LearnDash_Addon_Updater' ) ) {\n\tclass LearnDash_Addon_Updater {\n\t\tprotected static $instance = null;\n\n\t\tpublic static function get_instance() {\n\t\t\tif ( ! isset( static::$instance ) ) {\n\t\t\t\tstatic::$instance = new static();\n\t\t\t}\n\n\t\t\treturn static::$instance;\n\t\t}\n\n\t\tpublic function __call( $name, $arguments ) {\n\t\t\treturn;\n\t\t}\n\t}\n}\n\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #616E88\">\/\/ Add the define and the code to your wp-config.php. <\/span><\/span>\n<span class=\"line\"><span style=\"color: #616E88\">\/\/\/ Do not add to the theme functions.php because it needs to be set before LearnDash is loaded by WordPress.<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #616E88\">\/\/ For LearnDash 3.1.8 and higher only this define is needed.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #81A1C1\">if<\/span><span style=\"color: #D8DEE9FF\"> ( <\/span><span style=\"color: #81A1C1\">!<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">defined<\/span><span style=\"color: #D8DEE9FF\">( <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">LEARNDASH_UPDATES_ENABLED<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\"> ) ) <\/span><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">\t<\/span><span style=\"color: #88C0D0\">define<\/span><span style=\"color: #D8DEE9FF\">( <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">LEARNDASH_UPDATES_ENABLED<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">false<\/span><span style=\"color: #D8DEE9FF\"> )<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #616E88\">\/\/ For LearnDash 3.1.7 and lower the define and snippet ar needed.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #81A1C1\">if<\/span><span style=\"color: #D8DEE9FF\"> ( <\/span><span style=\"color: #81A1C1\">!<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">defined<\/span><span style=\"color: #D8DEE9FF\">( <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">LEARNDASH_ADDONS_UPDATER<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\"> ) ) <\/span><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">\t<\/span><span style=\"color: #88C0D0\">define<\/span><span style=\"color: #D8DEE9FF\">( <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">LEARNDASH_ADDONS_UPDATER<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">false<\/span><span style=\"color: #D8DEE9FF\"> )<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #81A1C1\">if<\/span><span style=\"color: #D8DEE9FF\"> ( <\/span><span style=\"color: #81A1C1\">!<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">class_exists<\/span><span style=\"color: #D8DEE9FF\">( <\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #A3BE8C\">LearnDash_Addon_Updater<\/span><span style=\"color: #ECEFF4\">&#39;<\/span><span style=\"color: #D8DEE9FF\"> ) ) <\/span><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">\t<\/span><span style=\"color: #81A1C1\">class<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">LearnDash_Addon_Updater<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">\t\t<\/span><span style=\"color: #81A1C1\">protected<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">static<\/span><span style=\"color: #D8DEE9FF\"> $instance <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">null;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">\t\t<\/span><span style=\"color: #81A1C1\">public<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">static<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">function<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">get_instance<\/span><span style=\"color: #ECEFF4\">()<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">\t\t\t<\/span><span style=\"color: #81A1C1\">if<\/span><span style=\"color: #D8DEE9FF\"> ( <\/span><span style=\"color: #81A1C1\">!<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">isset<\/span><span style=\"color: #D8DEE9FF\">( <\/span><span style=\"color: #D8DEE9\">static<\/span><span style=\"color: #D8DEE9FF\">::<\/span><span style=\"color: #D8DEE9\">$instance<\/span><span style=\"color: #D8DEE9FF\"> ) ) <\/span><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">\t\t\t\tstatic<\/span><span style=\"color: #ECEFF4\">:<\/span><span style=\"color: #D8DEE9FF\">:<\/span><span style=\"color: #D8DEE9\">$instance<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">new<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">static<\/span><span style=\"color: #D8DEE9FF\">()<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">\t\t\t<\/span><span style=\"color: #ECEFF4\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">\t\t\t<\/span><span style=\"color: #81A1C1\">return<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">static<\/span><span style=\"color: #D8DEE9FF\">::<\/span><span style=\"color: #D8DEE9\">$instance<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">\t\t<\/span><span style=\"color: #ECEFF4\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">\t\t<\/span><span style=\"color: #81A1C1\">public<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">function<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">__call<\/span><span style=\"color: #ECEFF4\">(<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">$name<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">$arguments<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">)<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">\t\t\t<\/span><span style=\"color: #81A1C1\">return;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">\t\t<\/span><span style=\"color: #ECEFF4\">}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">\t<\/span><span style=\"color: #ECEFF4\">}<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">}<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-theme-palette-8-color has-theme-palette-1-background-color has-text-color has-background has-link-color wp-elements-a63997ab68ed69ac6ea6b66c087f93d3\"><strong>IMPORTANT:<\/strong>&nbsp;All snippets are provided as-is without support or guarantees. These snippets are provided as guidelines for advanced users looking to customize LearnDash. For any additional help or support with these snippets, we recommend reaching out to a&nbsp;<a href=\"https:\/\/learndash.com\/experts\">LearnDash Expert<\/a>.<\/p>\n\n\n\n<p>To activate update and license checks again, simply remove the above code from your <code>wp-config.php<\/code> file.<\/p>\n\n\n\n<p class=\"note has-theme-palette-7-background-color has-background\"><strong>NOTE<\/strong>: Turning off update and license checks will result in an invalid license and the inability to use the automatic update (or install) feature for the LearnDash plugin, ProPanel, and all other LearnDash add-ons. The Add-ons menu will not be displayed until licensing is validated again. LearnDash may still work but we cannot guarantee compatibility with future versions of WordPress, so we encourage that this setting only be turned off <span style=\"text-decoration: underline;\">temporarily<\/span>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you see the above message on your WordPressdashboard, then this indicates that the LearnDash update and license checks have been disabled using the following define (located in the wp-config.php file of your site): IMPORTANT:&nbsp;All snippets are provided as-is without support or guarantees. These snippets are provided as guidelines for advanced users looking to customize&#8230;<\/p>\n","protected":false},"author":25,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_helpful_status":1,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"doc_category":[165],"doc_tag":[],"knowledge_base":[157],"class_list":["post-3684","docs","type-docs","status-publish","hentry","doc_category-faqs","knowledge_base-resources"],"year_month":"2026-04","word_count":270,"total_views":"3488","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"display_name":"jack","author_link":"https:\/\/learndash.com\/support\/author\/jack\/"},"doc_category_info":[{"term_name":"FAQs","term_url":"https:\/\/learndash.com\/support\/kb\/resources\/faqs\/"}],"doc_tag_info":[],"taxonomy_info":{"doc_category":[{"value":165,"label":"FAQs"}],"knowledge_base":[{"value":157,"label":"Resources"}]},"featured_image_src_large":false,"comment_info":0,"knowledge_base_info":[{"term_name":"Resources","term_url":"https:\/\/learndash.com\/support\/kb\/resources\/","term_slug":"resources"}],"knowledge_base_slug":["resources"],"_links":{"self":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/3684","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/comments?post=3684"}],"version-history":[{"count":14,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/3684\/revisions"}],"predecessor-version":[{"id":8313,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/3684\/revisions\/8313"}],"wp:attachment":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/media?parent=3684"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_category?post=3684"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_tag?post=3684"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/knowledge_base?post=3684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}