bp_get_album_group_id()

Return the album group ID.

Description

Return

(int) The album group ID.

Source

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

function bp_get_album_group_id() {
	global $media_album_template;

	/**
	 * Filters the album group ID being displayed.
	 *
	 * @since BuddyBoss 1.2.5
	 *
	 * @param int $id The album group ID.
	 */
	return apply_filters( 'bp_get_album_group_id', $media_album_template->album->group_id );
}

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.