bp_the_album()

Get the current album object in the loop.

Description

Return

(object) The current media within the loop.

Source

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

function bp_the_album() {
	global $media_album_template;
	return $media_album_template->the_album();
}

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.