Skip to:
Content
Pages
Categories
Search
Top
Bottom

Notification count if 0 dont display?


  • jameshh93
    Participant

    @jameshh93

    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?

    Thank you!

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.
Skip to toolbar