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

2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
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

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.