
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):
// Add the define and the code to your wp-config.php.
/// Do not add to the theme functions.php because it needs to be set before LearnDash is loaded by WordPress.
// For LearnDash 3.1.8 and higher only this define is needed.
if ( ! defined( 'LEARNDASH_UPDATES_ENABLED' ) ) {
define( 'LEARNDASH_UPDATES_ENABLED', false );
}
// For LearnDash 3.1.7 and lower the define and snippet ar needed.
if ( ! defined( 'LEARNDASH_ADDONS_UPDATER' ) ) {
define( 'LEARNDASH_ADDONS_UPDATER', false );
}
if ( ! class_exists( 'LearnDash_Addon_Updater' ) ) {
class LearnDash_Addon_Updater {
protected static $instance = null;
public static function get_instance() {
if ( ! isset( static::$instance ) ) {
static::$instance = new static();
}
return static::$instance;
}
public function __call( $name, $arguments ) {
return;
}
}
}
IMPORTANT: 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 LearnDash Expert.
To activate update and license checks again, simply remove the above code from your wp-config.php file.
NOTE: 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 temporarily.