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

(string) Subdirectory where the requested avatar should be found.

$params

(array) Array of parameters for the request.

$html_css_id

(string) ID attribute for avatar.

$html_width

(string) Width attribute for avatar.

$html_height

(string) Height attribute for avatar.

$avatar_folder_url

(string) Avatar URL path.

$avatar_folder_dir

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