bp_get_the_notification_secondary_item_id()
Return the secondary associated item ID of the notification currently being iterated on.
Return Return
(int) ID of the secondary item associated with the current notification.
Source Source
File: bp-notifications/bp-notifications-template.php
function bp_get_the_notification_secondary_item_id() { /** * Filters the secondary associated item ID of the notification currently being iterated on. * * @since 1.9.0 * * @param int $secondary_item_id ID of the secondary associated item. */ return apply_filters( 'bp_get_the_notification_secondary_item_id', buddypress()->notifications->query_loop->notification->secondary_item_id ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
1.9.0 | Introduced. |