Skip to content

Remove Password Strength Meter From Your Registration Form

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.

Published inWooCommerceWordPress

  1. Dennis Richardson Dennis Richardson

    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.

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

  2. This helped alot! Thanks!

  3. 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.

    • @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: