render_friendship_activity_card( string $html, object $row, ?array $team_payload, ?array $target_user, int $viewer_id = 0, bool $is_home_feed = false, ?array $author = null ): stringRender friendship activity card HTML.
public
Class: Kernowdev\ClanbiteSocialKit\Extension\Social_Kit
Parameters
$html(string) RequiredDefault HTML.
$row(object) RequiredDatabase row.
$team_payload(array|null) RequiredTeam data.
$target_user(array|null) RequiredTarget user data.
$viewer_id(int) OptionalCurrent viewer user ID.
Default:
0$is_home_feed(bool) OptionalTrue when rendering the merged home feed.
Default:
false$author(array|null) OptionalAuthor payload (lower user id on canonical friendship row).
Default:
null
Returns
string
Defined in inc/Extension/Social_Kit.php