ActionScheduler_wcSystemStatus

Located in classes/ActionScheduler_wcSystemStatus.php.

Renders the Action Scheduler section inside WooCommerce’s System Status report, including counts and oldest/newest action dates by status.

Public Methods

__construct( $store )

Initialize with a store instance.

  • Parameters: $store (ActionScheduler_Store)

render()

Render the Action Scheduler status table.

  • Returns: void

__call( $name, $arguments )

Backward-compatible method dispatcher.

  • Parameters: $name (string), $arguments (array)
  • Returns: mixed

Notes:

  • Calling print() is deprecated and delegates to render().

Protected Methods

get_oldest_and_newest( $status_keys )

Return oldest/newest scheduled dates for each status.

  • Parameters: $status_keys (array)
  • Returns: array

get_action_status_date( $status, $date_type = 'oldest' )

Fetch the oldest or newest scheduled date for a given status.

  • Parameters: $status (string), $date_type (string)
  • Returns: string formatted date or –

get_template( $status_labels, $action_counts, $oldest_and_newest )

Output the HTML table for the system status report.

  • Parameters: $status_labels (array), $action_counts (array), $oldest_and_newest (array)