Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wooexperte/a38d951fa8a2e5de78514017ab76f4d3 to your computer and use it in GitHub Desktop.
Save wooexperte/a38d951fa8a2e5de78514017ab76f4d3 to your computer and use it in GitHub Desktop.
WooCommerce – Zwang zur Passwortstärke entfernen
[php light="true"]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 );[/php]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment