MainWP Community

Disable the Password Strength in WooCommerce

Disable the password strength if using WooCommerce on your child site.

Snippet Type

Execute on Child Sites


function wp_wc_remove_password_strength() {
if ( wp_script_is( 'wc-password-strength-meter', 'enqueued' ) ) {
    wp_dequeue_script( 'wc-password-strength-meter' );
add_action( 'wp_print_scripts', 'wp_wc_remove_password_strength', 100 );

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.