Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- *Reduce the strength requirement on the woocommerce password.
- *
- * Strength Settings
- * 3 = Strong (default)
- * 2 = Medium
- * 1 = Weak
- * 0 = Very Weak / Anything
- */
- function reduce_woocommerce_min_strength_requirement( $strength ) {
- return 1;
- }
- add_filter( 'woocommerce_min_password_strength', 'reduce_woocommerce_min_strength_requirement' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement