Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

@henrywright

Moderator

what are the other 4 parameters?

They won’t help because it’s the count that you really need, and that is passed to the function. Everything else in the function is useless with reference to what you want to do.

To see how it all works, take a look at the BP core code, the notifications component section in particular:

https://github.com/buddypress/BuddyPress/tree/master/src/bp-notifications

You may find a function has already been written but my guess is you’re pioneering the way on this, and therefore would have to write something yourself (or open a functionality request ticket on Trac).

Skip to toolbar