woocommerce_decrease_coupon_usage_count

woocommerce_decrease_coupon_usage_count

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_decrease_coupon_usage_count') is found 1 times:

  • /includes/data-stores/class-wc-coupon-data-store-cpt.php line 410
    				$this->refresh_coupon_data( $coupon );
    			}
    		}
    
    		do_action( 'woocommerce_decrease_coupon_usage_count', $coupon, $new_count, $used_by );
    
    		return $new_count;
    	}
    
    	/**
    	 * Increase or decrease the usage count for a coupon by 1.