Advertisement

wp_switch_roles_and_user

Switches the initialized roles and current user capabilities to another site.

switch_to_blog

Switch the current blog.

Advertisement

delete_blog_option

Removes option by name for a given blog id. Prevents removal of protected WordPress options.

add_blog_option

Add a new option for a given blog id.

get_blog_option

Retrieve option value for a given blog id based on name of option.

Advertisement

update_blog_details

Update the details for a blog. Updates the blogs table for a given blog id.

get_blog_details

Retrieve the details for a blog from the blogs table and blog options.

Advertisement

get_id_from_blogname

Retrieves a sites ID given its (subdomain or directory) slug.