apply_filters( "bp_core_default_avatar_{$params[‘object’]}", string $value, array $params )

Filters the avatar default when Gravatar is not used.

Description

This is a variable filter dependent on the avatar type being requested.

Parameters

$value

(string) Default avatar for non-gravatar requests.

$params

(array) Array of parameters for the avatar request.

Source

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

Changelog

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