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())


Parameters Parameters

$retval

(bool) Whether or not to load the Avatar UI.


Source Source

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

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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