# Social_Kit::render_friendship_activity_card()

Render friendship activity card HTML.

```php
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 ): string
```

## Parameters

- `$html` (string) Default HTML.
- `$row` (object) Database row.
- `$team_payload` (array|null) Team data.
- `$target_user` (array|null) Target user data.
- `$viewer_id` (int) Current viewer user ID.
- `$is_home_feed` (bool) True when rendering the merged home feed.
- `$author` (array|null) Author payload (lower user id on canonical friendship row).

## Return

`string`
