bp_xprofile_get_visibility_levels()
Get visibility levels out of the $bp global.
Description
Return
(array)
Source
File: bp-xprofile/bp-xprofile-functions.php
1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 | function bp_xprofile_get_visibility_levels() { /** * Filters the visibility levels out of the $bp global. * * @since BuddyPress 1.6.0 * * @param array $visibility_levels Array of visibility levels. */ return apply_filters( 'bp_xprofile_get_visibility_levels' , buddypress()->profile->visibility_levels ); } |
Changelog
Version | Description |
---|---|
BuddyPress 1.6.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.