I have a WooCommerce module creating WordPress usernames on my behalf. I want to make sure those usernames are sanitized according to my rules, which are stricter than the WordPress requirements.
How can I hook / override sanitize_user to use my custom rules?