bp_get_activity_privacy()
Return the activity privacy.
Description
Return
(string) The activity privacy.
Source
File: bp-activity/bp-activity-template.php
function bp_get_activity_privacy() { global $activities_template; /** * Filters the activity privacy. * * @since BuddyBoss1.2.0 * * @param string $privacy Content body. * @param object $activity Activity object. Passed by reference. */ return apply_filters_ref_array( 'bp_get_activity_privacy', array( $activities_template->activity->privacy, &$activities_template->activity ) ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.2.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.