Reply To: [Solved] What are the correct action and filter hooks for comment notifications?
@henrywright YOU MY FRIEND ARE A STAR! 🙂 This is exactly what i was looking for and can confirm its working for me, i have now got the mentions split out with the number of mentions displayed and working correctly, thankyou very much henry!!!! also thankyou very much @danbp for your help. This is resolved! cheers.
Oh one last thing henry it turns out i didnt need to use the echo $count; at the end because it was causing it to echo 4 times on the page, but removing it seemed to fix the problem and the count is still showing.
So the final code i used was
$query_vars = array(
'user_id' => get_current_user_id(),
'component_action' => 'new_at_mention',
'is_new' => true
);
$count = BP_Notifications_Notification::get_total_count( $query_vars )
ty once again henry.