Last active
September 14, 2022 11:21
-
-
Save danielbitzer/74ed836fe3e1dddd8dff875ca79d6d4a to your computer and use it in GitHub Desktop.
AutomateWoo - Change workflow generated coupon lengths
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// The length doesn't include the specified coupon prefix | |
add_filter( 'automatewoo/coupon_generator/key_length', function() { | |
return 8; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment