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

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

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

Changelog

Changelog
Version Description
BuddyPress 1.9.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.