get last updated for multiple networks
-
get last updated works great for a multisite site network without issues with the following code:
<?php $blogs = get_last_updated(); ?> <?php if (is_array($blogs)) : ?> <ul> <?php foreach($blogs as $blog) : ?> <li><a href="https://<?php echo $blog[ 'domain' ] . $blog[ 'path' ] ?>"><?php echo get_blog_option( $blog[ 'blog_id' ], 'blogname' ) ?></a></li> <?php endforeach; // blogs as blog ?> </ul> <?php endif; ?>
However, is there any way that I can pull use this to grab data from another network / site ID on the same install?
- The topic ‘get last updated for multiple networks’ is closed to new replies.