ActionScheduler_RecurringActionScheduler

Located in classes/ActionScheduler_RecurringActionScheduler.php.

Schedules and triggers a daily hook that allows third-party plugins to ensure their recurring actions remain scheduled.

Public Methods

init()

Register the internal recurring schedule hook and wire admin-only scheduling.

  • Returns: void

schedule_recurring_scheduler_hook()

Schedule the internal recurring action if it is not already scheduled.

  • Returns: void

Notes:

  • Uses a transient (as_is_ensure_recurring_actions_scheduled) to avoid repeated scheduling attempts.

run_recurring_scheduler_hook()

Trigger the action_scheduler_ensure_recurring_actions hook for third-party scheduling checks.

  • Returns: void