bp_get_the_notification_id()
Return the ID of the notification currently being iterated on.
Description Description
Return Return
(int) ID of the current notification.
Source Source
File: bp-notifications/bp-notifications-template.php
function bp_get_the_notification_id() { /** * Filters the ID of the notification currently being iterated on. * * @since 1.9.0 * * @param int $id ID of the notification being iterated on. */ return apply_filters( 'bp_get_the_notification_id', buddypress()->notifications->query_loop->notification->id ); }
Changelog Changelog
Version | Description |
---|---|
1.9.0 | Introduced. |