Woocommerce signup form to remove password strength
Always use child theme any wordpress website and copy below custom code and add this code in your function.php for woocommerce signup form page. Use this below shortcode for remove password strength and make very simple password for WooCommerce register form page.
function reduce_min_strength_password_requirement( $strength ) {
// 0 => Strong (default) | 0 => Medium | 0 => Weak | 0 => Very Weak (anything).
return 0; }
And also add below css code in your CSS additionnel option or style.css file in your wooCommerce website.
.woocommerce-password-strength.short {
display: none!important;
}
small.woocommerce-password-hint {
display: none;
}
.woocommerce-password-strength.bad {
display: none!important;
}
.woocommerce-password-strength.good {
display: none!important;
}
.woocommerce-password-strength.strong{
display: none!important;
}
0 Comments