apply_filters( 'bp_avatar_pre_handle_capture', bool $value , string $data , int $item_id )
Filters whether or not to handle avatar webcam capture.
Description Description
If you want to override this function, make sure you return false.
Parameters Parameters
- $value
-
Whether or not to crop.
- $data
-
Base64 encoded image.
- $item_id
-
Item to associate.
Source Source
File: bp-core/bp-core-avatars.php
Changelog Changelog
Version | Description |
---|---|
2.5.1 | Introduced. |