apply_filters( 'bp_has_notifications', bool $value , BP_Notifications_Template $query_loop , array $r )
Filters whether or not the user has notifications to display.
Description Description
Parameters Parameters
- $value
-
Whether or not there are notifications to display.
- $query_loop
-
BP_Notifications_Template object instance.
- $r
-
Array of arguments passed into the BP_Notifications_Template class.
Source Source
File: bp-notifications/bp-notifications-template.php
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Added the $r parameter. |
1.9.0 | Introduced. |