Skip to content

Instantly share code, notes, and snippets.

@jjmontalban
Created January 18, 2023 12:14
Show Gist options
  • Save jjmontalban/56ccd28c71d3632ec92681c77e77cfb3 to your computer and use it in GitHub Desktop.
Save jjmontalban/56ccd28c71d3632ec92681c77e77cfb3 to your computer and use it in GitHub Desktop.
Elimina la obligatoriedad de password fuerte en Wordpress
/**
* @snippet Elimina la obligatoriedad de password fuerte
* @author JJMontalban
*/
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