Filters how random codes are generated for invoices, discount codes, etc. Passes the code and order object.
apply_filters("pmpro_random_code", string $code, MemberOrder $this);
SourceView in Source Code
Related Articles and Recipes
How to Use Sequential Order Numbers for Member Invoices By Travis Lima