Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // WooCommerce - Set minimum password strength
- add_filter( 'woocommerce_min_password_strength', 'custom_password_strength' );
- function custom_password_strength( $strength ) {
- // 3 strong = default, 2 medium, 1 weak or anything
- return 2;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement