bp_get_the_notification_item_id()

Return the associated item ID of the notification currently being iterated on.


Description Description


Return Return

(int) ID of the item associated with the current notification.


Top ↑

Source Source

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

	function bp_get_the_notification_item_id() {

		/**
		 * Filters the associated item ID of the notification currently being iterated on.
		 *
		 * @since 1.9.0
		 *
		 * @param int $item_id ID of the associated item.
		 */
		return apply_filters( 'bp_get_the_notification_item_id', buddypress()->notifications->query_loop->notification->item_id );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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