bp_get_album_load_more_link()
Get the URL for the Load More link.
Description
Return
(string) $link
Source
File: bp-media/bp-media-template.php
1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 | function bp_get_album_load_more_link() { global $media_album_template ; $url = bp_get_requested_url(); $link = add_query_arg( $media_album_template ->pag_arg, $media_album_template ->pag_page + 1, $url ); /** * Filters the Load More link URL. * * @since BuddyBoss 1.0.0 * * @param string $link The "Load More" link URL with appropriate query args. * @param string $url The original URL. * @param object $media_album_template The media album template loop global. */ return apply_filters( 'bp_get_album_load_more_link' , $link , $url , $media_album_template ); } |
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.