apply_filters( 'bp_avatar_use_webcam', bool $value )

Use this filter if you need to disable the webcam capture feature by returning false.

Description

Parameters

$value

Whether or not to load Webcam Avatar UI part.

Source

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

Changelog

Changelog
Version Description
BuddyPress 2.3.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.