Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: [Solved] What are the correct action and filter hooks for comment notifications?

@henrywright

Moderator

Like the comment count, I’m not sure there’s anything for mentions either. The function responsible for outputting the count you currently see for ‘unseen’ mentions is bp_activity_format_notifications(). It accepts 5 parameters, one of them being $total_items. That variable is what’s used when outputting the text “You have X new mentions”.

But again, to my knowledge, there isn’t currently anything available ‘stand-alone’ that will do the job for you.

Hope this helps?

Skip to toolbar