bp_get_album_per_page()
Return the number of media album per page.
Description
Return
(int) The media album per page.
Source
File: bp-media/bp-media-template.php
function bp_get_album_per_page() { global $media_album_template; /** * Filters the media album posts per page value. * * @since BuddyBoss 1.0.0 * * @param int $pag_num How many post should be displayed for pagination. */ return apply_filters( 'bp_get_album_per_page', (int) $media_album_template->pag_num ); }
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.