query_home_feed( int $viewer_id, int $page, int $per_page ): array{rows: object[], total: int}Home feed: posts from self + accepted friends.
Authors are limited to the viewer's circle; each post must be visible to the viewer (own posts, or public / friends visibility — friends-only from circle members applies).
Includes activity posts (team_created, friendship_accepted) even if they have a team_id, since those are user-centric activities that should appear in the home feed.
public static
Class: Kernowdev\ClanbiteSocialKit\Social\Data_Access
Parameters
$viewer_id(int) RequiredLogged-in user.
$page(int) RequiredPage (1-based).
$per_page(int) RequiredPer page (max 50).
Returns
array{rows: object[], total: int}
Defined in inc/Social/Data_Access.php