LLMS_Update

Database background update abstract class


Description Description


Source Source

File: includes/abstracts/abstract.llms.update.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.32.0 Update to use latest action-scheduler functions.
3.0.0 Introduced.

Top ↑

Methods Methods

  • __construct — Constructor
  • add_actions — Add action hooks for each function in the update
  • check_progress — Checks progress of functions within the update and triggers completion when finished
  • complete — Called when the queue is emptied for the group Outputs an admin notice
  • enqueue — Adds all functions to the queue
  • function_complete — Should be called by each update function when it's finished updates the progress in the functions array
  • get_hook — Get the name of the action hook for a given function
  • get_progress — Get data about the progress of an update
  • log — Log data related to the queue
  • output_progress_notice — Output a LifterLMS Admin Notice displaying the progress of the background updates
  • schedule_function — Schedules a function
  • start — Logs the start of the queue
  • update_status — Update the progress data to a new status

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.