apply_filters( 'bp_core_pre_avatar_handle_upload', bool $value , array $file )
Filters whether or not to handle uploading.
Description
If you want to override this function, make sure you return false.
Parameters
- $value
-
Whether or not to crop.
- $file
-
Appropriate entry from $_FILES superglobal.
Source
Changelog
Version | Description |
---|---|
BuddyPress 1.2.4 | 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.