bp_activity_get_visibility_levels()

Get activity visibility levels out of the $bp global.

Description

Return

(array)

Source

File: bp-activity/bp-activity-functions.php

1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
function bp_activity_get_visibility_levels() {
 
    /**
     * Filters the activity visibility levels out of the $bp global.
     *
     * @since BuddyBoss 1.2.3
     *
     * @param array $visibility_levels Array of visibility levels.
     */
    return apply_filters( 'bp_activity_get_visibility_levels', buddypress()->activity->visibility_levels );
}

Changelog

Changelog
Version Description
BuddyBoss 1.2.3 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.