Skip to content

Instantly share code, notes, and snippets.

@marcosnakamine
Forked from WPprodigy/functions.php
Last active March 29, 2017 11:18
Show Gist options
  • Save marcosnakamine/af65570d646e2945ae49951e72c9e34a to your computer and use it in GitHub Desktop.
Save marcosnakamine/af65570d646e2945ae49951e72c9e34a to your computer and use it in GitHub Desktop.
WooCommerce - Remove the password strength meter
<?php
add_action( 'wp_print_scripts', 'wc_remove_password_strength', 100 );
function wc_remove_password_strength() {
if ( wp_script_is( 'wc-password-strength-meter', 'enqueued' ) ) {
wp_dequeue_script( 'wc-password-strength-meter' );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment