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.


Top ↑

Source Source

File: bp-core/bp-core-avatars.php


Top ↑

Changelog Changelog

Changelog
Version Description
2.5.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.