WordPress at Your Fingertips
function is not described

WC_Data_Store::read() public WC 3.0.0

Reads an object from the data store.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Data_Store = new WC_Data_Store();
$WC_Data_Store->read( $data );
$data(WC_Data) (required) (passed by reference — &)
WooCommerce data instance.

Changelog

Since 3.0.0 Introduced.

Code of WC_Data_Store::read() WC 5.6.0

public function read( &$data ) {
	$this->instance->read( $data );
}