Check unread notification
-
Hi,
to generate the list of notifications I use this code, but I need to verify which of the notifications have the status of not read.if (bp_has_notifications($args)) : while (bp_the_notifications()) : bp_the_notification(); ob_start(); bp_the_notification_description(); $title[] = ob_get_contents(); ob_end_clean(); ob_start(); bp_the_notification_time_since(); $since[] = ob_get_contents(); ob_end_clean(); endwhile; endif;
How can I get this status?
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.