Remove WooCommerce Password Strength

Do you want to reduce or Remove WooCommerce Password Strength? I understand default WooCommere required password strength seems quite tough for some users to even remember the password.

I am not saying anyone should use weak passwords ever but sometimes you don’t want to force users to use a really strong password for example when they are on the checkout page you want them to complete the order without getting distracted.

Convenience for users is Important though you also need to keep in mind that security is something you shouldn’t compromise. Though until WordPress make the password strength parameters editable, I imagine many want this.

* Reduce the strength requirement for woocommerce registration password.
* Strength Settings:
* 0 = Nothing = Anything
* 1 = Weak
* 2 = Medium
* 3 = Strong (default)

add_filter( 'woocommerce_min_password_strength', 'wpglorify_woocommerce_password_filter', 10 );
function wpglorify_woocommerce_password_filter() {
return 0; }

As I put the instructions in the code itself level 0 stands for no password strength checks at all. So in theory, users can even use only 2-3 letters long password which is very bad for security even a bot coded by a kid can crack such passwords.

Level 1 and 2 are for Weak and Medium password strength respectively where simple passwords like ‘qwerty’ won’t be allowed. Level 3 is a default(Strong) level. You can change the level number in line 12 of the code above according to your needs.


The Code Snippets plugin makes it very easy to not just add PHP snippets to your website but also manage all the snippets you add.

You can activate and deactivate certain snippets, and even adds notes about what they do. It even has better error handling to avoid the PHP error scenarios.

To install it, simply go to Plugins > Add New and search for Code Snippets.

The traditional or normal way to add PHP snippets to your theme is to add directly in your theme’s functions.php file.

However, make sure you are using a child theme otherwise you will lose all changes once you update your theme.