5th Year Anniversary Super Sale! Save Upto 50% OFF*

Remove woocommerce password strength

By
1 Reviews ( 5 )

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 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' );

Show Buttons
Hide Buttons