Clanbite Since 1.6.2 Updated in 1.6.3
clanbite_notification_actor_avatar_html( int $user_id, int $notification_id = 0 ): stringThe actor's avatar as the shared Clanbite avatar (shape, XP ring and rank badge), so notifications match the rest of the site.
Parameters
$user_id(int) RequiredActor user ID.
$notification_id(int) OptionalNotification the avatar sits in (passed to avatar filters as
object_id); 0 when unknown.Default:
0
Returns
string Sanitised HTML, or an empty string when the avatar system is unavailable.
Defined in inc/extensions/notifications/functions.php
Changelog
| Version | Description |
|---|---|
| 1.6.3 | Updated. |
| 1.6.2 | Introduced. |