Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStore::read_meta()publicWC 1.0

Returns an array of meta for an object.

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

No Hooks.

Return

Array.

Usage

$OrdersTableDataStore = new OrdersTableDataStore();
$OrdersTableDataStore->read_meta( $object );
$object(WC_Data) (required) (passed by reference — &)
WC_Data object.

Code of OrdersTableDataStore::read_meta() WC 7.1.0

public function read_meta( &$object ) {
	$raw_meta_data = $this->data_store_meta->read_meta( $object );
	return $this->filter_raw_meta_data( $object, $raw_meta_data );
}