Delete All Coupons by Type

Public
</> CopyGet raw version
php
  1. pre($c = commerce_coupon_load_multiple(array(),array('type'=>'commerce_coupon_pct')));
  2. pre(commerce_coupon_delete_multiple(array_keys($c)));