Browse: Home / Functions /

learndash_get_updater_instance

learndash_get_updater_instance( bool $force_new = false )

Gets the nss_plugin_updater_sfwd_lms instance.


Description #

If the instance already exists it returns the existing instance otherwise creates a new instance.


Parameters #

$force_new

(bool) (Optional) Whether to force a new instance. @since 4.0.0

Default value: false


Return #

(void|nss_plugin_updater_sfwd_lms) The nss_plugin_updater_sfwd_lms instance.


Source #

File: includes/ld-autoupdate.php