bp_get_album_visibility()

Return the album visibility.

Description

Return

(string) The media album visibility.

Source

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

function bp_get_album_visibility() {
	global $media_album_template;

	/**
	 * Filters the album visibility being displayed.
	 *
	 * @since BuddyBoss 1.0.0
	 *
	 * @param int $id The media album visibility.
	 */
	return apply_filters( 'bp_get_album_visibility', $media_album_template->album->visibility );
}

Changelog

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