Created
July 21, 2016 19:01
-
-
Save rynaldos-zz/7484391c35eef36a3fe65985d5007d5d to your computer and use it in GitHub Desktop.
Password Strength Disable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment