Skip to content

Instantly share code, notes, and snippets.

@sejas
Forked from WPprodigy/functions.php
Created February 24, 2016 11:04
Show Gist options
  • Save sejas/20c419ba51b6a7e61e63 to your computer and use it in GitHub Desktop.
Save sejas/20c419ba51b6a7e61e63 to your computer and use it in GitHub Desktop.
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 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment