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
jobst commented Apr 14, 2016

Perfect!

@davidperezgar

That's nice function

@ghost
ghost commented Aug 19, 2016

Thx bro'

@phreaks
phreaks commented Sep 11, 2016

works! Thx dude.

@sjbkhan13

Thank you so much. :)

@kushjyoti

Nice

@eduwass
eduwass commented Feb 23, 2017 edited

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