Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableRefundDataStore::get_post_data_store_for_backfill()protectedWC 1.0

Returns data store object to use backfilling.

Method of the class: OrdersTableRefundDataStore{}

No Hooks.

Return

\WC_Order_Refund_Data_Store_CPT.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_post_data_store_for_backfill();

OrdersTableRefundDataStore::get_post_data_store_for_backfill() code WC 9.3.3

protected function get_post_data_store_for_backfill() {
	return new \WC_Order_Refund_Data_Store_CPT();
}