BP_Notifications_Template::next_notification()

Set up the next notification and iterate index.


Description Description


Return Return

(object) The next notification to iterate over.


Top ↑

Source Source

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

	public function next_notification() {

		$this->current_notification++;

		$this->notification = $this->notifications[ $this->current_notification ];

		return $this->notification;
	}

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.