New and updated in MU
-
functionget_most_active_blogs()
Deprecated functionality to retrieve a list of the most active sites.
-
functionwpmu_admin_do_redirect()
Redirect a user based on $_GET or $_POST arguments.
-
functiongenerate_random_password()
Generates a random password.
-
Adds an ‘updated=true’ argument to a URL.
-
functionis_site_admin()
Determine if user is a site admin.
-
functionget_user_id_from_string()
Get a numeric user ID from either an email address or a login.
-
functiongraceful_fail()
Deprecated functionality to gracefully fail.
-
functionget_blogaddress_by_domain()
Get a full site URL, given a domain and a path.
-
functionget_user_details()
Deprecated functionality to retrieve user information.
-
functionget_dashboard_blog()
Get the “dashboard blog”, the blog where users without a blog edit their profile data.
-
functionupdate_archived()
Updates the ‘archived’ status of a particular blog.
-
functionupdate_blog_status()
Updates a blog details field.
-
Fires after the current blog’s ‘public’ setting is updated.
-
functionget_blog_status()
Gets a blog details field.
-
functionget_last_updated()
Gets a list of most recently updated blogs.
-
functionswitch_to_blog()
Switches the current blog.
-
hookswitch_blog
Fires when the blog is switched.
-
functionrestore_current_blog()
Restores the current blog, after calling switch_to_blog().
-
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.