bp_get_album_user_id()

Return the album user ID.

Description

Return

(int) The album user ID.

Source

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

1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
function bp_get_album_user_id() {
    global $media_album_template;
 
    /**
     * Filters the album ID being displayed.
     *
     * @since BuddyBoss 1.0.0
     *
     * @param int $id The album user ID.
     */
    return apply_filters( 'bp_get_album_user_id', $media_album_template->album->user_id );
}

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.