Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableRefundDataStore::read_multiple()publicWC 1.0

Read multiple refund objects from custom tables.

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

No Hooks.

Return

null. Nothing.

Usage

$OrdersTableRefundDataStore = new OrdersTableRefundDataStore();
$OrdersTableRefundDataStore->read_multiple( $refunds );
$refunds(\WC_Order) (required) (passed by reference — &)
Refund objects.

Code of OrdersTableRefundDataStore::read_multiple() WC 7.1.0

public function read_multiple( &$refunds ) {
	parent::read_multiple( $refunds );
	foreach ( $refunds as $refund ) {
		$this->set_refund_props( $refund );
	}
}