Last active
April 16, 2018 06:38
-
-
Save tdtgit/2aee9151be131a7225dacfda5419d3ac to your computer and use it in GitHub Desktop.
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
/** | |
* Disable zxcvbn.min.js on WordPress loading | |
*/ | |
function deregister_or_dequeue_scripts() { | |
wp_dequeue_script('wc-password-strength-meter'); | |
} | |
add_action('wp_print_scripts', 'deregister_or_dequeue_scripts', 20); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment