Remove Password Strength Meter From Your Registration Form

Published by WP Doctor 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.


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.

artdesign12d · November 26, 2019 at 5:39 pm

previously I have added this code in my parent theme function.php, and it works,
after that I made a child theme,
if I add the code again in my child theme function.php, can it damage my site because in my parent theme the code already exists,
thank you

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

    WP Doctor · November 26, 2019 at 6:19 pm


    Please delete the code from your parent theme and keep on only child.

Leave a Reply

%d bloggers like this: