Retrieve the avatar <img> tag for user.
- Full name:
get_user_avatar - Defined in:
cms/core/Shared/Helpers/hook.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$email |
string | User's email address. |
$s |
int | Height and width of the avatar image file in pixels. Default 80. |
$class |
string | Class to add to <img> element. |
Return Value
string
<img> tag for user's avatar or default otherwise.