bp_member_avatar( array|string $args = '' )

Output a member’s avatar.


Description Description

See also See also


Top ↑

Parameters Parameters

$args

(array|string) (Optional) See bp_get_member_avatar().

Default value: ''


Top ↑

Source Source

File: bp-members/bp-members-template.php

function bp_member_avatar( $args = '' ) {

	/**
	 * Filters a members avatar.
	 *
	 * @since 1.2.0
	 * @since 2.6.0 Added the `$args` parameter.
	 *
	 * @param string       $value Formatted HTML <img> element, or raw avatar URL based on $html arg.
	 * @param array|string $args  See {@link bp_get_member_avatar()}.
	 */
	echo apply_filters( 'bp_member_avatar', bp_get_member_avatar( $args ), $args );
}


Top ↑

Changelog Changelog

Changelog
Version Description
1.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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