bp_get_album_author()
Return the album author name.
Description
Return
(int) The album author name.
Source
File: bp-media/bp-media-template.php
function bp_get_album_author() { global $media_album_template; if ( isset( $media_album_template ) && isset( $media_album_template->album ) && isset( $media_album_template->album->user_id ) ) { $author = bp_core_get_user_displayname( $media_album_template->album->user_id ); } /** * Filters the album author name being displayed. * * @since BuddyBoss 1.5.3 * * @param int $id The album author id. */ return apply_filters( 'bp_get_album_author', $author ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.5.3 | 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.