Dev Resources

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

WC_Coupon::get_generic_coupon_error()

Method: Map one of the WC_Coupon error codes to an error string.

Source: includes/class-wc-coupon.php:1062

Used by 1 function | Uses 1 function

WC_Coupon::is_valid_for_cart()

Method: Check if a coupon is valid.

Source: includes/class-wc-coupon.php:858

Used by 0 functions | Uses 2 functions

WC_Coupon::is_valid_for_product()

Method: Check if a coupon is valid for a product.

Source: includes/class-wc-coupon.php:869

Used by 0 functions | Uses 8 functions

WC_Coupon::add_coupon_message()

Method: Converts one of the WC_Coupon message/error codes to a message string and.

Source: includes/class-wc-coupon.php:917

Used by 0 functions | Uses 3 functions

WC_Coupon::get_coupon_message()

Method: Map one of the WC_Coupon message codes to a message string.

Source: includes/class-wc-coupon.php:937

Used by 1 function | Uses 0 functions

WC_Coupon::get_coupon_error()

Method: Map one of the WC_Coupon error codes to a message string.

Source: includes/class-wc-coupon.php:958

Used by 2 functions | Uses 13 functions

WC_Coupon::read_manual_coupon()

Method: Developers can programmatically return coupons. This function will read those values into our WC_Coupon class.

Source: includes/class-wc-coupon.php:743

Used by 1 function | Uses 5 functions

WC_Coupon::increase_usage_count()

Method: Increase usage count for current coupon.

Source: includes/class-wc-coupon.php:791

Used by 0 functions | Uses 0 functions

WC_Coupon::decrease_usage_count()

Method: Decrease usage count for current coupon.

Source: includes/class-wc-coupon.php:808

Used by 0 functions | Uses 1 function

WC_Coupon::get_error_message()

Method: Returns the error_message string.

Source: includes/class-wc-coupon.php:831

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