Re: Filter bp_has_activities() by &inlcude=id but not its comments
Okay, so I’ve sort of abandoned this method and have been trying to figure out the bp_has_activities filter. It seems the ‘current documentation’ (https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/) is actually outdated because there is no mention of an exclude parameter which was indeed added to buddypress 1.5!
I need to modify the activity stream and exclude all updates and comments if they have a specific meta. I can get a list of ids to include or exclude, but I’m lost at how to appropriately apply the filter from within a plugin.
Again, I’d really appreciate the help. I’m having an impossible time finding current discussions or docs for the bp_has_activities filter for buddypress 1.5.