How to remove the password strength meter from WooCommerce

How to remove the password strength meter from WooCommerce

In this article I will show you how to remove the password strength from registration form of WooCommerce.
Copy and paste this code in your theme’s function.php

function wc_remove_password_strength() {
	if ( wp_script_is( 'wc-password-strength-meter', 'enqueued' ) ) {
		wp_dequeue_script( 'wc-password-strength-meter' );
	}
}
add_action( 'wp_print_scripts', 'wc_remove_password_strength', 100 );

Comments

comments

Share