Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/discount-functions.php

edd_apply_preset_discount()

Function: Applies the preset discount, if any. This is separated from edd_listen_for_cart_discount() in order to allow items to be added to the cart and for it to persist across page loads if necessary

Source: includes/discount-functions.php:964

Used by 0 functions | Uses 0 functions

edd_discount_status_cleanup()

Function: Updates discounts that are expired or at max use (that are not already marked as so) as inactive or expired

Source: includes/discount-functions.php:990

Used by 0 functions | Uses 0 functions

edd_get_discounts_cache()

Function: Check to see if this set of discounts has been queried for already.

Source: includes/discount-functions.php:1102

Used by 0 functions | Uses 0 functions

edd_set_discounts_cache()

Function: Store found discounts with the hash.

Source: includes/discount-functions.php:1124

Used by 0 functions | Uses 0 functions

edd_filter_discount_code_cleanup()

Function: Used during edd_discount_status_cleanup to filter out a meta query properly

Source: includes/discount-functions.php:1148

Used by 0 functions | Uses 0 functions

edd_get_cart_discounts_html()

Function: Retrieves the HTML for all discounts applied to the cart

Source: includes/discount-functions.php:826

Used by 0 functions | Uses 0 functions

edd_display_cart_discount()

Function: Show the fully formatted cart discount

Source: includes/discount-functions.php:873

Used by 0 functions | Uses 0 functions

edd_remove_cart_discount()

Function: Processes a remove discount from cart request

Source: includes/discount-functions.php:887

Used by 0 functions | Uses 0 functions

edd_maybe_remove_cart_discount()

Function: Checks whether discounts are still valid when removing items from the cart

Source: includes/discount-functions.php:911

Used by 0 functions | Uses 0 functions

edd_multiple_discounts_allowed()

Function: Checks whether multiple discounts can be applied to the same purchase

Source: includes/discount-functions.php:934

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