I’m using WordPress along with the WooCommerce. I want to modify the strong password validation where if user types 8 chars then it should consider it as strong password instead of the weak password.
Thanks
add_filter( 'woocommerce_min_password_length', 'custom_password_length' ); function custom_password_length( $length ) { return 8; // Set the desired minimum password length }
I tried the above hoook but it only changes the minimum length. What I want is to update the wp.passwordStrength.meter
message to strong.