LLMS_DB_Upgrader::update()
Start the update
Description Description
If autoupdating is possible, will enqueue and dispatch the bg updater. Otherwise it will show the update pending notice which will prompt an admin to manually start the update.
Return Return
(boolean) Returns false
if there are no updates to run and true
otherwise.
Source Source
File: includes/class-llms-db-ugrader.php
public function update() { if ( ! $this->has_required_updates() ) { return false; } // Auto update if it can. if ( $this->can_auto_update() ) { $this->enqueue_updates(); } else { $this->show_notice_pending(); } return true; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |