bp_the_folder()

Get the current folder object in the loop.

Description

Return

(object) The current document within the loop.

Source

File: bp-document/bp-document-template.php

1268
1269
1270
1271
function bp_the_folder() {
    global $document_folder_template;
    return $document_folder_template->the_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.