bp_the_notification()

Get the current notification object in the loop.

Description

Return

(object) The current notification within the loop.

Source

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

function bp_the_notification() {
	return buddypress()->notifications->query_loop->the_notification();
}

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.