bp_get_album_privacy()

Return the album privacy.

Description

Return

(string) The media album privacy.

Source

File: bp-media/bp-media-template.php

1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
function bp_get_album_privacy() {
    global $media_album_template;
 
    /**
     * Filters the album privacy being displayed.
     *
     * @since BuddyBoss 1.0.0
     *
     * @param int $id The media album privacy.
     */
    return apply_filters( 'bp_get_album_privacy', $media_album_template->album->privacy );
}

Changelog

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