Relax the Account Password Strength Requirement
Lowers the password strength WooCommerce requires on registration and checkout from "strong" to "medium", which reduces abandoned sign-ups.
Opens WPIDE on
Code
add_filter( 'woocommerce_min_password_strength', function () {
// 0 = very weak, 1 = weak, 2 = medium, 3 = strong (default), 4 = very strong.
return 2;
} );
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.