# Data_Access::map_forum_last_post_snapshots()

For each forum ID, load the topic with the latest activity (`last_reply_at`, tie-break `id`).

Used for board index “last post” columns. Keys are forum IDs; forums with no published topics are omitted.

```php
map_forum_last_post_snapshots( array $forum_ids ): array
```

## Parameters

- `$forum_ids` (list<int>) Forum IDs.

## Return

`array<int, object>` Map forum_id => row with `topic_id`, `topic_slug`, `topic_title`, `last_reply_at`, `last_reply_id`, `last_poster_author_id`.
