viewer_group_ids( int $user_id ): int[]Groups the user belongs to and may still read (the sources of their home feed's group posts).
public static
Class: Kernowdev\ClanbiteSocialKit\Social\Feed_Permissions
Parameters
$user_id(int) RequiredUser ID.
Returns
int[] Group post IDs (at most 200).
Defined in inc/Social/Feed_Permissions.php