autoship_generated_virtual_wc_coupon (filter)

( src\coupons.php) This filter can be used to adjust a virtual coupon as it is generated and perform other tasks related to that coupon. Takes the $coupon and $coupon_data as parameters. 

Code:

  return apply_filters( 'autoship_generated_virtual_wc_coupon', $coupon, $coupon_data );

Included in these Functions:

 autoship_generate_virtual_wc_coupon ()

Still need help? Contact Us Contact Us