BP_Blogs_Template::next_blog()
Set up the next blog and iterate index.
Description Description
Return Return
(object) The next blog to iterate over.
Source Source
File: bp-blogs/classes/class-bp-blogs-template.php
public function next_blog() {
$this->current_blog++;
$this->blog = $this->blogs[ $this->current_blog ];
return $this->blog;
}