Limit BuddyPress User and Group Avatar File size

You all know that you can limit the dimension of BuddyPress avatars using the constatnts as exlained here.

It is also possible to limit the file size(allowed upload size) for the BuddyPress Avatar.

Here is the code that you can put in your bp-custom.php

Short and sweet. That's BuddyPress for you!

Comments are closed.