bp_document_get_visibility_levels()
Get document visibility levels out of the $bp global.
Description
Return
(array)
Source
File: bp-document/bp-document-functions.php
function bp_document_get_visibility_levels() { /** * Filters the document visibility levels out of the $bp global. * * @param array $visibility_levels Array of visibility levels. * * @since BuddyBoss 1.4.0 */ return apply_filters( 'bp_document_get_visibility_levels', buddypress()->document->visibility_levels ); }
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.