dajocarter
4/3/2017 - 4:51 PM

Removes the woocommerce password strength meter script from the login/signup form. https://nicola.blog/2016/01/27/remove-the-password-streng

Removes the woocommerce password strength meter script from the login/signup form. https://nicola.blog/2016/01/27/remove-the-password-strength-meter-on-the-checkout-page/

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 );