apply_filters( 'bp_get_user_has_avatar', bool $retval, int $user_id )

Filters whether or not a user has an uploaded avatar.

Description

Parameters

$retval

(bool) Whether or not a user has an uploaded avatar.

$user_id

(int) ID of the user being checked.

Source

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

Changelog

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