Hi Rav,
Thank you for the question.Please use the following code.
$read_count = BP_Notifications_Notification::get_total_count( array( 'user_id' => bp_loggedin_user_id(), 'is_new' => 0, ) );
Regards
Brajesh
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘ [Resolved] count all notifications’ is closed to new replies.
This topic is: resolved