bp_get_folder_count()
Return the folder count.
Description
Return
(int) The folder count.
Source
File: bp-document/bp-document-template.php
function bp_get_folder_count() {
global $document_folder_template;
/**
* Filters the folder count for the document folder template.
*
* @since BuddyBoss 1.4.0
*
* @param int $folder_count The count for total folder.
*/
return apply_filters( 'bp_get_folder_count', (int) $document_folder_template->folder_count );
}
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.