Reply To: Remove public group updates from SWA
i tested the function and it works on my install. Do you use a cache plugin ? If yes, clear it and try again.
You could also try to do that directly in the activity template, via your child theme.
See bp_has_activities in bp-templates/bp-legacy/buddypress/activity/activity-loop.php
But this will also affect the whole site activities.
Profile specific what’s new update activity doesn’t exist outside of a user activity page.
In other words, when you call the action filter activity_update, you’ll receive updates from “members”, “groups” and “swa activity” which is default.
To understand, open your DB and go to bp-activity table.
You’ll see component, type and action rows, which are used to built the SWA.
And the comp xprofile doesn’t include activity_update action
More doc about this in /buddypress/bp-activity-template.php:166