ActionScheduler_DBLogger::init()publicWC 1.0

Initialize the data store.

Метод класса: ActionScheduler_DBLogger{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Код ActionScheduler_DBLogger::init() WC 9.3.3

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 );
}