bp_get_folder_per_page()
Return the number of document folder per page.
Description
Return
(int) The document folder per page.
Source
File: bp-document/bp-document-template.php
function bp_get_folder_per_page() { global $document_folder_template; /** * Filters the document folder posts per page value. * * @since BuddyBoss 1.4.0 * * @param int $pag_num How many post should be displayed for pagination. */ return apply_filters( 'bp_get_folder_per_page', (int) $document_folder_template->pag_num ); }
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.