Decrease the Strength Required for WooCommerce Passwords
24 June, 2022

This will be the first of many WordPress snippets of code, that as WordPress developers we’re always coming back to. Hopefully this archive will be helpful to other WP developers as much as us!
From a score of 0 of 5, the default value of 3 is a little high for most clients. We usually like to reduce this to 2.
/**
* Change WP min password strength
*/
function jmj_min_password_strength( $value ) {
return 2;
}
add_filter( 'woocommerce_min_password_strength', 'jmj_min_password_strength', 10, 1 );
CSS text gradients
Previous
CSS text gradients
Why it pays to have professional website design
Next
Why it pays to have professional website design