ActionScheduler_AdminView
Located in classes/ActionScheduler_AdminView.php.
Wires Action Scheduler’s admin UI into WordPress (Tools → Scheduled Actions) and WooCommerce system status when available.
Public Methods
instance()
Return the singleton instance (filtered).
- Returns:
ActionScheduler_AdminView
Notes:
- Filter:
action_scheduler_admin_view_classcontrols the class used.
init()
Initialize admin hooks (menu registration, notices, help tabs, WooCommerce status integration).
- Returns:
void
system_status_report()
Render Action Scheduler’s status report on the WooCommerce System Status page.
- Returns:
void
register_system_status_tab( array $tabs )
Register Action Scheduler’s tab under WooCommerce → System Status.
- Parameters:
$tabs(array) - Returns:
arrayupdated tabs
register_menu()
Add “Scheduled Actions” under Tools and register the list table load handler.
- Returns:
void
process_admin_ui()
Trigger processing of admin list table actions.
- Returns:
void
render_admin_ui()
Render the Scheduled Actions admin screen.
- Returns:
void
maybe_check_pastdue_actions()
Check for past-due actions on admin_notices with throttling via transients.
- Returns:
void
add_help_tabs()
Add Action Scheduler help tabs to the admin screen, including source path information.
- Returns:
void
Internal Methods
These are non-public helpers but are listed for completeness:
get_list_table()— instantiate and memoizeActionScheduler_ListTable, process row actions.check_pastdue_actions()— determine past-due counts and emit admin notice.