Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

WC_Order_Data_Store_CPT::prime_order_item_caches_for_orders( array $order_ids, array $query_vars )

Prime following caches: 1. item-$order_item_id For individual items.


Description Description

  1. order-items-$order-id For fetching items associated with an order.
    1. order-item meta.

Parameters Parameters

$order_ids

(Required) Order Ids to prime cache for.

$query_vars

(Required) Query vars for the query.


Top ↑

Source Source

File: includes/data-stores/class-wc-order-data-store-cpt.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.