Removes the password strength meter script and stylesheet that WooCommerce loads on registration and checkout pages. Useful when you want a cleaner form experience or are using a custom password validation approach.
add_action( 'wp_enqueue_scripts', function() {
if ( is_checkout() || is_account_page() ) {
wp_dequeue_script( 'wc-password-strength-meter' );
wp_deregister_script( 'wc-password-strength-meter' );
}
}, 100 );
