Essential Classy Addons For Elementor

Limited Time Offer, Flat 40% off on xmas23 Code.
Introduced in recent versions of WooCommerce and WordPress, there is an integrated Password Strength Meter which forces users to use strong passwords.

It loads below file
password-strength-meter.min.js
zxcvbn.min.js

There are two ways.

1. Custom code in function.php

add_action('wp_print_scripts', function(){				
	if( is_admin() ) {
		return;
	}				
	
	if( ( isset($GLOBALS['pagenow']) && $GLOBALS['pagenow'] === 'wp-login.php' ) || ( isset($_GET['action']) && in_array($_GET['action'], array('register','rp', 'lostpassword' )) ) ) {
		return;
	}
	
	if( class_exists('WooCommerce') && (is_account_page() || is_checkout()) ) {
		return;
	}
	
	wp_dequeue_script('password-strength-meter');
	wp_deregister_script('password-strength-meter');

	wp_dequeue_script('wc-password-strength-meter');
	wp_deregister_script('wc-password-strength-meter');
	
	wp_dequeue_script('zxcvbn-async');
	wp_deregister_script('zxcvbn-async');
	
}, 100);

2. Using EC Addons