WordPress
[Wordpress] 나의 계정 페이지 또는 결제 페이지에서 약한 비밀번호 허용
cpu21
2017. 12. 30. 18:44
※ 작동 안됨
/* 나의 계정 페이지 또는 결제 페이지에서 약한 비밀번호 허용 */
/* Remove the password strength meter from WooCommerce checkout */
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 );