Skip to content

Instantly share code, notes, and snippets.

@beezee
Created January 25, 2012 23:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beezee/1679690 to your computer and use it in GitHub Desktop.
Save beezee/1679690 to your computer and use it in GitHub Desktop.
$site_list = get_blog_list();
foreach ($site_list as $site)
{
switch_to_blog($site_list['blog_id']);
wp_signon($credentials);
}
restore_current_blog();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment