Skip to content

Instantly share code, notes, and snippets.

@jjmontalban
Created May 11, 2021 10:13
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 jjmontalban/785234d820d8628f6583388855a81533 to your computer and use it in GitHub Desktop.
Save jjmontalban/785234d820d8628f6583388855a81533 to your computer and use it in GitHub Desktop.
WP - Elimina obligatoriedad de contraseña fuerte
<?php
/**
* @snippet Elimina obligatoriedad de contraseña fuerte
*/
add_action ('wp_print_scripts', function () {
if (wp_script_is ('wc-password-strength-meter', 'enqueued'))
wp_dequeue_script ('wc-password-strength-meter');
}, 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment