bp_nouveau_avatar_args()
Get the full size avatar args.
Description
Return
(array) The avatar arguments.
Source
File: bp-templates/bp-nouveau/includes/template-tags.php
function bp_nouveau_avatar_args() {
/**
* Filter arguments for full-size avatars.
*
* @since BuddyPress 3.0.0
*
* @param array $args {
* @param string $type Avatar type.
* @param int $width Avatar width value.
* @param int $height Avatar height value.
* }
*/
return apply_filters( 'bp_nouveau_avatar_args', array(
'type' => 'full',
'width' => bp_core_avatar_full_width(),
'height' => bp_core_avatar_full_height(),
) );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 3.0.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.