You are currently viewing Remove the Password Strength Meter in WooCommerce

Remove the Password Strength Meter in WooCommerce

Disable Woocommerce password strength meter from twelve character validation and remove it while user registration.

It is not recommended you to remove password strength from Woocommerce store But sometimes its required then use below code and remove your password strength checker. You can add below code in theme’s function.php file or your plugin.


/**
* Remove password strength check.
*/
function dna_remove_password_strength() {
    wp_dequeue_script( 'wc-password-strength-meter' );
}
add_action( 'wp_print_scripts', 'dna_remove_password_strength', 10 );

Note: Removing strong passwords should be done at your own risk.

Leave a Reply