bp_blogs_get_random_blogs( int|null $limit = null, int|null $page = null )
Retrieve a random list of blogs.
Description
See also
- BP_Blogs_Blog::get(): for a description of parameters and return values.
Parameters
- $limit
-
(int|null) (Optional) See {@BP_Blogs_Blog::get()}.
Default value: null
- $page
-
(int|null) (Optional) See {@BP_Blogs_Blog::get()}.
Default value: null
Return
(array) See {@BP_Blogs_Blog::get()}.
Source
File: bp-blogs/bp-blogs-functions.php
function bp_blogs_get_random_blogs( $limit = null, $page = null ) { return BP_Blogs_Blog::get( 'random', $limit, $page ); }
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.