Dev Resources

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

WC_Coupon_Data_Store_CPT::get_tentative_usage_query_for_user()

Method: Generate query to calculate tentative usages for the coupon by the user.

Source: includes/data-stores/class-wc-coupon-data-store-cpt.php:665

Used by 2 functions | Uses 0 functions

WC_Coupon_Data_Store_CPT::get_code_by_id()

Method: Return a coupon code for a specific ID.

Source: includes/data-stores/class-wc-coupon-data-store-cpt.php:698

Used by 0 functions | Uses 0 functions

WC_Coupon_Data_Store_CPT::get_ids_by_code()

Method: Return an array of IDs for for a specific coupon code.

Source: includes/data-stores/class-wc-coupon-data-store-cpt.php:720

Used by 0 functions | Uses 1 function

woocommerce_decrease_coupon_usage_count

Action Hook: We’re doing this the long way because `delete_post_meta( $id, $key, $value )` deletes.

Source: includes/data-stores/class-wc-coupon-data-store-cpt.php:380

Used by 1 function | Uses 0 functions

WC_Coupon_Data_Store_CPT::update_usage_count_meta()

Method: Increase or decrease the usage count for a coupon by 1.

Source: includes/data-stores/class-wc-coupon-data-store-cpt.php:393

Used by 2 functions | Uses 0 functions

WC_Coupon_Data_Store_CPT::get_tentative_usage_count()

Method: Returns tentative usage count for coupon.

Source: includes/data-stores/class-wc-coupon-data-store-cpt.php:418

Used by 0 functions | Uses 1 function

WC_Coupon_Data_Store_CPT::get_usage_by_user_id()

Method: Get the number of uses for a coupon by user ID.

Source: includes/data-stores/class-wc-coupon-data-store-cpt.php:434

Used by 0 functions | Uses 1 function

WC_Coupon_Data_Store_CPT::get_usage_by_email()

Method: Get the number of uses for a coupon by email address

Source: includes/data-stores/class-wc-coupon-data-store-cpt.php:455

Used by 0 functions | Uses 1 function

WC_Coupon_Data_Store_CPT::get_tentative_usages_for_user()

Method: Get tentative coupon usages for user.

Source: includes/data-stores/class-wc-coupon-data-store-cpt.php:476

Used by 2 functions | Uses 1 function

WC_Coupon_Data_Store_CPT::get_tentative_held_time()

Method: Get held time for resources before cancelling the order. Use 60 minutes as sane default.

Source: includes/data-stores/class-wc-coupon-data-store-cpt.php:490

Used by 2 functions | Uses 0 functions
1 2 3 Next »
Proudly powered by WordPress