WordPress2017. 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 );

'WordPress' 카테고리의 다른 글

wp-config Options  (0) 2021.01.22
[Wordpress] wp_usermeta 테이블 wp_user_level  (0) 2018.07.12
[Wordpress] Core - 워드프레스 접속주소 변경  (0) 2018.03.21
Posted by cpu21