bp_get_folder_privacy()
Return the folder privacy.
Description
Return
(string) The document folder privacy.
Source
File: bp-document/bp-document-template.php
function bp_get_folder_privacy() { global $document_folder_template; /** * Filters the folder privacy being displayed. * * @since BuddyBoss 1.4.0 * * @param int $id The document folder privacy. */ return apply_filters( 'bp_get_folder_privacy', $document_folder_template->folder->privacy ); }
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.