bp_has_options_avatar()

Check to see if there is an options avatar.

Description

An options avatar is an avatar for something like a group, or a friend. Basically an avatar that appears in the sub nav options bar.

Not currently used in BuddyPress.

Return

(bool) $value Returns true if an options avatar has been set, otherwise false.

Source

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

function bp_has_options_avatar() {
	return (bool) buddypress()->bp_options_avatar;
}

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.