Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Hide count – please help a PHP newbie

@shanebp

Moderator

    if ( bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) != 0 )
        $notif .= '<li class="notify"><a href=" ' .$notif_url. ' ">Notifications <div class="notifynumber topnavcount">'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ).'</div></a></li>';

    else
        $notif .= '<li class="notify"><a href=" ' .$notif_url. ' ">Notifications</a></li>'; 
Skip to toolbar