Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStore::get_post_data_store_for_backfill()protectedWC 1.0

Returns data store object to use backfilling.

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

No Hooks.

Return

\Abstract_WC_Order_Data_Store_CPT.

Usage

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

Code of OrdersTableDataStore::get_post_data_store_for_backfill() WC 7.1.0

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