New and updated in MU (3.0.0)
-
hookadd_user_to_blog
Fires immediately after a user is added to a site.
-
functionremove_user_from_blog()
Removes a user from a blog.
-
Fires before a user is removed from a site.
-
functioncreate_empty_blog()
Create an empty blog.
-
functionget_sitestats()
Gets the network’s site and user counts.
-
functionget_blog_id_from_url()
Gets a blog’s numeric ID from its URL.
-
functionget_admin_users_for_domain()
Get the admin for a domain/path combination.
-
functionget_active_blog_for_user()
Gets one of a user’s active blogs.
-
functionis_main_blog()
Deprecated functionality to determine if the current site is the main site.
-
functionvalidate_email()
Deprecated functionality to validate an email address.
-
functionget_blog_list()
Deprecated functionality to retrieve a list of all sites.
-
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.
-
Adds an ‘updated=true’ argument to a URL.
-
functiongenerate_random_password()
Generates a random password.
-
functionget_user_id_from_string()
Get a numeric user ID from either an email address or a login.
-
functionis_site_admin()
Determine if user is a site admin.
-
functionget_blogaddress_by_domain()
Get a full site URL, given a domain and a path.
-
functiongraceful_fail()
Deprecated functionality to gracefully fail.
-
functionget_user_details()
Deprecated functionality to retrieve user information.
-
functionclear_global_post_cache()
Deprecated functionality to clear the global post cache.
-
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().