apply_filters( 'bp_core_fetch_avatar', string $value, array $params, string $html_css_id, string $html_width, string $html_height, string $avatar_folder_url, string $avatar_folder_dir )

Filters an avatar URL wrapped in an <img> element.

Description

Parameters

$value

Subdirectory where the requested avatar should be found.

$params

Array of parameters for the request.

$html_css_id

ID attribute for avatar.

$html_width

Width attribute for avatar.

$html_height

Height attribute for avatar.

$avatar_folder_url

Avatar URL path.

$avatar_folder_dir

Avatar DIR path.

Source

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

Changelog

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