Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

get_blogs_of_user()

3 tags 1 category

get_blogs_of_user() — Gets the sites a user belongs to.

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

Returns object[]: A list of the user’s sites. An empty array if the user doesn’t exist or belongs to no sites.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…