ActionScheduler_DBLogger::init()publicWC 1.0

Initialize the data store.

Method of the class: ActionScheduler_DBLogger{}

No Hooks.

Return

null. Nothing (null).

Usage

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

ActionScheduler_DBLogger::init() code WC 8.7.0

public function init() {
	$table_maker = new ActionScheduler_LoggerSchema();
	$table_maker->init();
	$table_maker->register_tables();

	parent::init();

	add_action( 'action_scheduler_deleted_action', array( $this, 'clear_deleted_action_logs' ), 10, 1 );
}