Limited Support
Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.
We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!
Merry Christmas and Happy Holidays! 🎄
How i can change DEFAULT password MINIMUM length when user REGISTER?
I use wpforo and userpro.. and userpro password min length = 8, wpforo = 6.. when user have pass with 6 length, userpro behave incorrectly
You can change the password min length using this hook code in your current active WordPress theme functions.php file. I set it 3 in the code, you can change it to whatever you want:
add_filter('wpforo_pass_min_length', function ($length){ return 3;} );
How to Easily Add Custom Code in WordPress
thnx!
@robert Thanks. You provided the following for the minimum length. I was just curious how to additionally set the "max" length for the password.
add_filter('wpforo_pass_min_length', function ($length){ return 3;} );
Please let me know if there's also an option for "max" length?
Gary