woocommerce_cart_totals_coupon_html

The WooCommerce woocommerce cart totals coupon html function.

Description

woocommerce_cart_totals_coupon_html( $coupon ); 

Parameters (1)

0. $coupon
The coupon.

Usage

  1. if ( !function_exists( 'woocommerce_cart_totals_coupon_html' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-deprecated-functions.php'; 
  3.  
  4. // The coupon. 
  5. $coupon = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = woocommerce_cart_totals_coupon_html($coupon); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-deprecated-functions.php  
  1. function woocommerce_cart_totals_coupon_html( $coupon ) {