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-

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

themeforest-light-background

 

19 thoughts on “Remove Password Strength Meter From Your Registration Form

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

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

    • Yes, I am using a free theme called “Zerit Lite”. I have modified my all other pages except the homepage layout 🙂

    • Hello,

      I am using YOAST SEO plugin to rank the keywords. Focus on your blog content keyword and title keyword also, if you will use any image into the post the image description should have the same keyword.

  • Hello,

    I have placed this code in my child theme’s functions.php file, however it does not seem to affect the status of the password strength requirement whatsoever. I know that the snippet is placed properly within the functions.php file so that is not the issue. No PHP errors, other functions in the file are still working fine, just no apparent change in functionality regarding the strength requirement.

    Thank you for your time,
    Michael P.
    Hard On Horsepower
    845-744-4889

    • I have checked and its working fine for me. Please make sure that you are using the default my-account page of WooCommerce to register.

      Thanks 🙂

  • Pingback: dancome
  • This isn’t working for me. Is this still a functional solution for WP 4.7? Just curious. I put a logging statement and the function is being called. I’m doing this:
    function remove_wc_password_meter() {
    al_log(“Called remove_wc_password_meter”);
    wp_dequeue_script( ‘wc-password-strength-meter’ );
    wp_dequeue_script( ‘zxcvbn-async’ );
    }
    add_action( ‘wp_print_scripts’, ‘remove_wc_password_meter’, 100 );
    add_action( ‘admin_print_scripts’, ‘remove_wc_password_meter’, 100);

    I expanded both when it’s called and what it’s dequeuing in an effort to get it to work, but still no luck.

    Also, I tried calling this from my theme’s functions.php and from a custom plugin I’ve written (I’d rather do it from the plugin, actually), and no luck.

    Any idea why not?

    Best,
    Dave

  • @davetbo, The above code was only for the password script and it is working fine for me. I think your extra dequeue_script is creating the problem. Please use the below code on your child theme’s functions.php –

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

  • Nope, still no luck. On a completely unrelated note, I just noticed that your SSL cert has expired. 🙂 I’m still seeing the password strength nag on the password reset page as well as the admin profile page. I did just realize, however, that I’m not using WooCommerce. I’m wondering about dequeueing the built-in WP password strength meter. Therefore, I tried dequeueing the ‘password-strength-meter’ as well. Still no dice.

  • Thanks for the quick responses! I have figured out another workaround. I’m hiding the form fields that are there by default (display:none) and adding other fields below using the ‘resetpass_form’ action. I will check out that other link, too, though.

Leave a Reply

%d bloggers like this: