New and updated in MU (3.0.0)
-
functionis_archived()
Checks if a particular blog is archived.
-
hookarchive_blog
Fires when the ‘archived’ status is added to a site.
-
hookunarchive_blog
Fires when the ‘archived’ status is removed from a site.
-
functionget_blog_option()
Retrieves option value for a given blog id based on name of option.
-
functionadd_blog_option()
Adds a new option for a given blog ID.
-
functiondelete_blog_option()
Removes an option by name for a given blog ID. Prevents removal of protected WordPress options.
-
functionupdate_blog_option()
Updates an option for a particular blog.
-
functionrefresh_blog_details()
Clears the blog details cache.
-
functionupdate_blog_details()
Updates the details for a blog and the blogs table for a given blog ID.
-
hookmake_spam_blog
Fires when the ‘spam’ status is added to a site.
-
hookmake_ham_blog
Fires when the ‘spam’ status is removed from a site.
-
functionwpmu_update_blogs_date()
Updates the last_updated field for the current site.
-
Fires after the blog details are updated.
-
functionget_blogaddress_by_id()
Gets a full site URL, given a site ID.
-
functionget_blogaddress_by_name()
Gets a full site URL, given a site name.
-
functionget_id_from_blogname()
Retrieves a site’s ID given its (subdomain or directory) slug.
-
functionget_blog_details()
Retrieves the details for a blog from the blogs table and blog options.
-
hookblog_details
Filters a blog’s details.