WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Internal\ProductAttributesLookup

DataRegenerator::init() public WC 1.0

Class initialization, invoked by the DI container.

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

No Hooks.

Return

null. Nothing.

Usage

$DataRegenerator = new DataRegenerator();
$DataRegenerator->init( $data_store );
$data_store(LookupDataStore) (required)
The data store to use.

Code of DataRegenerator::init() WC 5.9.0

final public function init( LookupDataStore $data_store ) {
	$this->data_store = $data_store;
}