Codex tools: Log in
Switch the current blog to a different blog. switch_to_blog(), is useful if you need to pull posts or other information from other blogs.
You can switch back afterwards using restore_current_blog().
Things that aren't switched:
false if $validate=true is passed and no such blog exists; otherwise true (even when "switching" to the current blog).
switch_to_blog() is located in
You can switch back afterwards using restore_current_blog()