WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #37958, comment 2


Ignore:
Timestamp:
09/06/2016 06:13:50 PM (4 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37958, comment 2

    initial v1  
    66// Fetch blog IDs
    77$blogs = get_sites( $whatever );
     8$quick = true;
    89
    910// Stash
     
    1213// Loop
    1314foreach ( $blogs as $blog ) {
    14     switch_to_blog( $blog->blog_id );
     15    switch_to_blog( $blog->blog_id, $quick );
    1516}
    1617