apply_filters( 'bp_has_notifications', bool $value, BP_Notifications_Template $query_loop, array $r )

Filters whether or not the user has notifications to display.


Parameters Parameters

$value

(bool) Whether or not there are notifications to display.

$query_loop

(BP_Notifications_Template) BP_Notifications_Template object instance.

$r

(array) Array of arguments passed into the BP_Notifications_Template class.


Source Source

File: bp-notifications/bp-notifications-template.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Added the $r parameter.
1.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.