Skip to content

Instantly share code, notes, and snippets.

@MarceloGlez
Created February 13, 2021 01:37
Show Gist options
  • Save MarceloGlez/a777ca2cb4f050bc78ceb72fdc1a4365 to your computer and use it in GitHub Desktop.
Save MarceloGlez/a777ca2cb4f050bc78ceb72fdc1a4365 to your computer and use it in GitHub Desktop.
Elimina la dureza de la contraseña para nuevo registro en Woocommerce
/*Elimina la dureza de la contrasena para nuevos usuarios*/
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