Guest User

Untitled

a guest
Jul 21st, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. /**
  2. * Put this code into your functions.php file
  3. * 3 = Strong (default)
  4. * 2 = Medium
  5. * 1 = Weak
  6. * 0 = Very Weak / Anything
  7. */
  8. function raj_woocommerce_pass_strength( $strength ) {
  9. return 2;
  10. }
  11. add_filter( 'woocommerce_min_password_strength', 'raj_woocommerce_pass_strength' );
Add Comment
Please, Sign In to add comment