WordPress Developer Resources
Counts number of sites grouped by site status.
Switches the initialized roles and current user capabilities to another site.
Cleans the site details cache for a site.
Handler for updating the current site’s posts count when a post is deleted.
Handler for updating the current site’s posts count when a post status changes.
Gets a blog details field.
Gets a list of most recently updated blogs.
Handler for updating the site’s last updated date when a post is published or an already published post is changed.
Handler for updating the current site’s last updated date when a published post is deleted.
Switches the current blog.
Fires when the blog is switched.
Restores the current blog, after calling switch_to_blog().
Determines if switch_to_blog() is in effect.
Checks if a particular blog is archived.
Updates the ‘archived’ status of a particular blog.
Updates a blog details field.
Adds a new option for a given blog ID.
Removes an option by name for a given blog ID. Prevents removal of protected WordPress options.
Updates an option for a particular blog.
Clears the blog details cache.
Updates the details for a blog and the blogs table for a given blog ID.
Retrieves option value for a given blog id based on name of option.
Filters a blog option value.
Updates the last_updated field for the current site.
Fires after the blog details are updated.
Gets a full site URL, given a site ID.
Gets a full site URL, given a site name.
Retrieves a site’s ID given its (subdomain or directory) slug.
Retrieves the details for a blog from the blogs table and blog options.
Filters a blog’s details.