apply_filters( 'bp_core_avatar_dimension', int|bool $dim , string $type , string $h_or_w )
Filters the avatar dimension setting.
Description
Parameters
- $dim
-
Dimension setting for the type.
- $type
-
The type of avatar whose dimensions are requested. Default 'thumb'.
- $h_or_w
-
The dimension parameter being requested. Default 'height'.
Source
Changelog
Version | Description |
---|---|
BuddyPress 1.5.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.