来源:https://stackoverflow.com/questions/51723849/make-coupon-field-mandatory-for-a-product-category-in-woocommerce 标签 php wordpress woocommerce custom-taxonomy coupon