BP_Activity_Template::next_activity()

Set up the next activity item and iterate index.


Return Return

(object) The next activity item to iterate over.


Source Source

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

	public function next_activity() {
		$this->current_activity++;
		$this->activity = $this->activities[ $this->current_activity ];

		return $this->activity;
	}


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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