Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/data-stores/class-wc-order-data-store-cpt.php

WC_Order_Data_Store_CPT::prime_order_item_caches_for_orders()

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

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

Used by 1 function | Uses 1 function

WC_Order_Data_Store_CPT::prime_raw_meta_cache_for_orders()

Method: Prime cache for raw meta data for orders in bulk. Difference between this and WP built-in metadata is that this method also fetches `meta_id` field which we use and cache it.

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

Used by 1 function | Uses 1 function

WC_Order_Data_Store_CPT::compile_orders()

Method: Compile order response and set caches as needed for order ids.

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

Used by 1 function | Uses 4 functions

WC_Order_Data_Store_CPT::prime_refund_caches_for_order()

Method: Prime refund cache for orders.

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

Used by 1 function | Uses 3 functions

WC_Order_Data_Store_CPT::get_order_key()

Method: Get order key.

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

Used by 0 functions | Uses 1 function

WC_Order_Data_Store_CPT::get_wp_query_args()

Method: Get valid WP_Query args from a WC_Order_Query’s query variables.

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

Used by 1 function | Uses 2 functions

WC_Order_Data_Store_CPT::query()

Method: Query for Orders matching specific criteria.

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

Used by 0 functions | Uses 2 functions

WC_Order_Data_Store_CPT::get_order_item_type()

Method: Return the order type of a given item which belongs to WC_Order.

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

Used by 0 functions | Uses 0 functions

WC_Order_Data_Store_CPT::set_recorded_coupon_usage_counts()

Method: Stores information about whether coupon counts were updated.

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

Used by 0 functions | Uses 2 functions

WC_Order_Data_Store_CPT::get_coupon_held_keys()

Method: Return array of coupon_code => meta_key for coupon which have usage limit and have tentative keys.

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

Used by 1 function | Uses 0 functions
1 2 … 4 Next »
Proudly powered by WordPress