Special Bundle Offer! All-in-one Pack (Script + Android + iOS + Installation) Buy Now

Remove woocommerce password strength

By Blog
1 Reviews ( 5 )

The WooCommerce account registration form provides users with a “hint” explaining how long the password should be and what characters it should include.

The WC Password Strength Settings plugin seems to have a feature for removing/changing the password hint.

This following code will disable password strength enforcement in WooCommerce. Disabling the minimum password strength is not recommended from a security standpoint. Use at your own risk!

 

Add the following code at functions.php  last.  (this file located in theme root folder)

 


function reduce_woocommerce_min_strength_requirement( $strength ) {
return 2;
}
add_filter( 'woocommerce_min_password_strength', 'reduce_woocommerce_min_strength_requirement' );