BP_Notifications_Template::rewind_notifications()

Rewind the blogs and reset blog index.


Description Description


Source Source

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

	public function rewind_notifications() {

		$this->current_notification = -1;

		if ( $this->notification_count > 0 ) {
			$this->notification = $this->notifications[0];
		}
	}

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.