how to allow weak password for new users?
-
function iconic_remove_password_strength() {
wp_dequeue_script( ‘wc-password-strength-meter’ );
}
add_action( ‘wp_print_scripts’, ‘iconic_remove_password_strength’, 10 );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 );function webroom_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’, ‘webroom_wc_remove_password_strength’, 100 );i tried all this still not working
- The topic ‘how to allow weak password for new users?’ is closed to new replies.