apply_filters( 'bp_core_pre_avatar_handle_upload', bool $value , array $file )
Filters whether or not to handle uploading.
Description Description
If you want to override this function, make sure you return false.
Parameters Parameters
- $value
-
Whether or not to crop.
- $file
-
Appropriate entry from $_FILES superglobal.
Source Source
File: bp-core/bp-core-avatars.php
Changelog Changelog
Version | Description |
---|---|
1.2.4 | Introduced. |