Reply To: [Solved] What are the correct action and filter hooks for comment notifications?
Ah right! That seems to be quite an old resource, goes back to BuddyPress 1.5, I think.
Yeah, bp_activity_get_comment_count() will return the comment count for a particular activity item.
Sounds like you’re looking for a ‘notification’ count for activity comments? So for example, if I comment on an activity you’ve posted, the count will be 1. If two people comment on an activity you’ve posted, the count will be 2. At some point in time, you log in and view these which results in the count being reset to 0. Is that what you’re looking for? If so, as far as I know, there’s nothing like that available currently. You could always open a request on Trac asking for the functionality to be added?