Automattic\WooCommerce\Internal\DataStores\Orders
OrdersTableDataStore::get_post_data_store_for_backfill
Returns data store object to use backfilling.
Method of the class: OrdersTableDataStore{}
No Hooks.
Returns
\Abstract_WC_Order_Data_Store_CPT.
Usage
// protected - for code of main (parent) or child class $result = $this->get_post_data_store_for_backfill();
OrdersTableDataStore::get_post_data_store_for_backfill() OrdersTableDataStore::get post data store for backfill code WC 10.7.0
protected function get_post_data_store_for_backfill() {
return new \WC_Order_Data_Store_CPT();
}