Skip to content

Instantly share code, notes, and snippets.

Last active Oct 27, 2021
What would you like to do?
AutomateWoo Refer A Friend - Change referral coupon length
// Please note, once the length is changed you may need to delete the advocate's existing coupon
// before new coupons with the new length will be generated.
add_filter( 'automatewoo/referrals/coupon_key_length', function(){
return 5;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment