Learndash_Admin_Action_Scheduler
LearnDash admin action scheduler class.
Description #
Provides a wrapper for the Action Scheduler library.
Source #
File: includes/admin/class-learndash-admin-action-scheduler.php
Changelog #
Version | Description |
---|---|
4.2.0 | Introduced. |
Methods #
- __construct — Construct.
- add_admin_notice — Add an admin notice.
- add_fatal_task — Add a task to the fatal tasks list to be marked as failed.
- enqueue_task — Add a task to the queue.
- get_full_group_name — Returns the full group name.
- init_ld_scheduler — Init the global scheduler stuff.
- is_task_in_progress — Returns if a task is currently in progress (enqueued or running).
- mark_fatal_tasks_as_failed — Mark fatal tasks as failed.
- maybe_run_tasks_immediately — Run tasks immediately if we have a define.
- register_callback — Register an action tasks.
- show_processing_notices — Show admin notices related to the scheduled tasks.
- task_handler — Add progress notice.