Notification count if 0 dont display?
At moment im using this code which display 0 if there are no notifcations how can I display nothing if there are 0 notifcations?
echo bp_notifications_get_unread_notification_count( bp_loggedin_user_id() );
Also is there a same sort of code for friends count too and or mentions?
- You must be logged in to reply to this topic.