BP_Document_Template::rewind_documents()
Rewind the posts and reset post index.
Description
Source
File: bp-document/classes/class-bp-document-template.php
306 307 308 309 310 311 | public function rewind_documents() { $this ->current_document = - 1; if ( $this ->document_count > 0 ) { $this ->document = $this ->documents[0]; } } |
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.