To display group-specific posts on the dashboard while maintaining privacy, you can use a custom query to fetch activity from only the groups a user belongs to. Add the following to your theme’s functions.php:
This ensures only posts from the user’s private or hidden groups show on their dashboard. For wiki articles, use group IDs as metadata to filter visibility. Test thoroughly to maintain privacy.
Let me know if you need help refining this further!