ActionScheduler_HybridStore::init()publicWC 1.0

Initialize the table data store tables.

Method of the class: ActionScheduler_HybridStore{}

No Hooks.

Return

null. Nothing (null).

Usage

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

ActionScheduler_HybridStore::init() code WC 8.7.0

public function init() {
	add_action( 'action_scheduler/created_table', [ $this, 'set_autoincrement' ], 10, 2 );
	$this->primary_store->init();
	$this->secondary_store->init();
	remove_action( 'action_scheduler/created_table', [ $this, 'set_autoincrement' ], 10 );
}