Remove Password Strength Meter From Your Registration Form

Published by Nayem on

Many users are trying to remove the password strength from their registration form of WooCommerce. As they are not good in the code for that reason, they always look for an easy solution. You can easily dequeue the script to disable the password strength meter.


You can use these following codes to disable the meter-

function remove_wc_password_meter() {
wp_dequeue_script( 'wc-password-strength-meter' );
}
add_action( 'wp_print_scripts', 'remove_wc_password_meter', 100 );


Just you have to paste those codes into your theme’s (child theme is safe to customize) function.php file.


6 Comments

Dennis Richardson · April 5, 2016 at 12:06 am

Thanks so much for this! This has been a problem with my website. My only question is where exactly do you place these codes in the function.php file? I don’t want to break my website.

    nayemdevs · April 5, 2016 at 10:13 am

    @dennis you are most welcome. If you have a child theme then place those codes into your child theme’s function.php file.

Sean · April 19, 2016 at 6:55 pm

This helped alot! Thanks!

Richard Prescott · April 30, 2016 at 12:33 pm

I’m putting this code in the child’s theme php and it’s not disabling the strength meter. I’m really trying to disable this as I’m losing business because of it. Any further assistance would be much appriciated.

    nayemdevs · April 30, 2016 at 12:37 pm

    @richard please make sure that you are pasting those codes in your child theme function.php file. I have checked and its working fine. If your theme has any custom code option then put them there.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: