get_blogs_of_user Wordpress function


Description:

Get the blogs a user belongs to.


Syntax:


Arguments:

(int) $user_id User ID
(bool) $all Whether to retrieve all blogs, or only blogs that are not marked as deleted, archived, or spam.


Return Type:

(array) A list of the user's blogs. An empty array if the user doesn't exist or belongs to no blogs.


Define At:

wp-includes/user.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_blogs_of_user


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×