BP_Notifications_Template::has_notifications()
Whether there are notifications available in the loop.
Description Description
See also See also
Return Return
(bool) True if there are items in the loop, otherwise false.
Source Source
File: bp-notifications/classes/class-bp-notifications-template.php
public function has_notifications() { if ( $this->notification_count ) { return true; } return false; }
Changelog Changelog
Version | Description |
---|---|
1.9.0 | Introduced. |