bp_blogs_get_blogs_for_user( int $user_id, bool $show_hidden = false )
Get all of a user’s blogs, as tracked by BuddyPress.
Description
See also
- BP_Blogs_Blog::get_blogs_for_user(): for a description of parameters and return values.
Parameters
- $user_id
-
(Required) See {@BP_Blogs_Blog::get_blogs_for_user()}.
- $show_hidden
-
(Optional) See {@BP_Blogs_Blog::get_blogs_for_user()}.
Default value: false
Return
(array) See {@BP_Blogs_Blog::get_blogs_for_user()}.
Source
File: bp-blogs/bp-blogs-functions.php
function bp_blogs_get_blogs_for_user( $user_id, $show_hidden = false ) { return BP_Blogs_Blog::get_blogs_for_user( $user_id, $show_hidden ); }
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.