Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Remove the password strength meter from WooCommerce checkout
function wc_ninja_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_ninja_remove_password_strength', 100 );

jobst commented Apr 14, 2016


That's nice function


ghost commented Aug 19, 2016

Thx bro'

phreaks commented Sep 11, 2016

works! Thx dude.

Thank you so much. :)


eduwass commented Feb 23, 2017

Isn't there a way to lower the strength requirement without totally disabling?

Ninja edit: there is! -> woocommerce_min_password_strength!

add_filter( 'woocommerce_min_password_strength', 'uh_oh_weakpasswords' );

function uh_oh_weakpasswords() {
return 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment