switch_to_blog Wordpress function


Description:

Switch the current blog.


Syntax:


Arguments:

(int) $new_blog The id of the blog you want to switch to. Default: current blog
(bool) $deprecated Deprecated argument


Return Type:

(bool) True on success, false if the validation failed


Define At:

wp-includes/ms-blogs.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/switch_to_blog


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×