Returns an array of arrays containing basic information about the most recently updated blogs on this WPMU install.
<?php get_last_updated( ); ?>
<?php get_last_updated(' ', 0, 10); // gets the last 10 updated blogs ?>
<?php
$blogs = get_last_updated();
echo 'Last updated blog IDs:<ul>';
foreach ($blogs AS $blog) {
echo '<li>'.$blog['blog_id'].'</li>';
}
echo '</ul>';
?>
<?php $blogs = get_last_updated(); ?>
<?php if (is_array($blogs)) : ?>
<h2>Last updated:</h2>
<ul>
<?php foreach($blogs as $blog) : ?>
<li><a href="http://<?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; ?>
This function does not return the date each blog was updated. Unlike get_blog_list() this function does not return the post count of each blog in the array. There is no option to change the order of the returned blogs through this function.