bp_core_avatar_original_max_width()
Get the max width for original avatar uploads.
Description
Return
(int) The max width for original avatar uploads.
Source
File: bp-core/bp-core-avatars.php
function bp_core_avatar_original_max_width() {
/**
* Filters the max width for original avatar uploads.
*
* @since BuddyPress 1.5.0
*
* @param int $value Value for the max width.
*/
return apply_filters( 'bp_core_avatar_original_max_width', (int) buddypress()->avatar->original_max_width );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.5.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.