apply_filters( 'bp_avatar_is_front_edit', bool $retval )
Use this filter if you need to : – Load the avatar UI for a component that is !groups or !user (return true regarding your conditions) – Completely disable the avatar UI introduced in 2.3 (eg: __return_false())
Description Description
Parameters Parameters
- $retval
-
Whether or not to load the Avatar UI.
Source Source
File: bp-core/bp-core-avatars.php
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |