BP_Document_Folder_Template::next_folder()

Set up the next folder item and iterate index.

Description

Return

(object) The next folder item to iterate over.

Source

File: bp-document/classes/class-bp-document-folder-template.php

	public function next_folder() {
		$this->current_folder ++;
		$this->folder = $this->folders[ $this->current_folder ];

		return $this->folder;
	}

Changelog

Changelog
Version Description
BuddyBoss 1.4.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.