WordPress at Your Fingertips
function is not described

ActionScheduler_Logger::init() public WC 1.0

{} It's a method of the class: ActionScheduler_Logger{}

No Hooks.

Return

null. Nothing.

Usage

$ActionScheduler_Logger = new ActionScheduler_Logger();
$ActionScheduler_Logger->init();

Code of ActionScheduler_Logger::init() WC 6.1.1

public function init() {
	$this->hook_stored_action();
	add_action( 'action_scheduler_canceled_action', array( $this, 'log_canceled_action' ), 10, 1 );
	add_action( 'action_scheduler_begin_execute', array( $this, 'log_started_action' ), 10, 2 );
	add_action( 'action_scheduler_after_execute', array( $this, 'log_completed_action' ), 10, 3 );
	add_action( 'action_scheduler_failed_execution', array( $this, 'log_failed_action' ), 10, 3 );
	add_action( 'action_scheduler_failed_action', array( $this, 'log_timed_out_action' ), 10, 2 );
	add_action( 'action_scheduler_unexpected_shutdown', array( $this, 'log_unexpected_shutdown' ), 10, 2 );
	add_action( 'action_scheduler_reset_action', array( $this, 'log_reset_action' ), 10, 1 );
	add_action( 'action_scheduler_execution_ignored', array( $this, 'log_ignored_action' ), 10, 2 );
	add_action( 'action_scheduler_failed_fetch_action', array( $this, 'log_failed_fetch_action' ), 10, 2 );
	add_action( 'action_scheduler_failed_to_schedule_next_instance', array( $this, 'log_failed_schedule_next_instance' ), 10, 2 );
	add_action( 'action_scheduler_bulk_cancel_actions', array( $this, 'bulk_log_cancel_actions' ), 10, 1 );
}