Skip to content

Early-bird lifetime licence: $199 once, for the first 200 buyers only. See the offer

Turn off the password strength meter

Removes WooCommerce’s password strength meter from the account and checkout pages. It loads a 400 KB script and blocks weak but acceptable passwords.

  • Type PHP
  • Runs Everywhere (runs as WordPress loads)
  • Needs WooCommerce
  • Category WooCommerce
  • Tested with WordPress 7.1, WooCommerce 11.1
PHP
<?php

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

Good to know

Customers can then choose weaker passwords. Pair it with “Passwords of at least 12 characters” if that worries you.

In these packs

Move your snippets over this afternoon.

Importing changes nothing until you switch over, and your old shortcodes keep working.