WordPress.org

Support

Support » Multisite » List of blogs and Space Allowed/Used

List of blogs and Space Allowed/Used

  • Is there a way as the WPMU Site Admin to get a list/report of all blogs on the site with the Space Allowed and the Space Used on it?

    thanks,
    duane

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrea Rennick

    @andrea_r

    Customer Care at Copyblogger Media and Studiopress

    most super admins have the same space allocated across the board.

    I *think* there might have been a plugin somewhere to show this, but it;s not built in, unless you want to visit the dashboard of each site.

    I use something like the following as part of an mu-plugin that displays a variety of stats per blog on the usual list of blogs at SuperAdmin->Sites

    <?php
    function ds_upload_space_used() {
    global $blog;
     	$dirName = ABSPATH . 'wp-content/blogs.dir/' . $blog[ 'blog_id' ] . '/';
    		echo '<strong>Space Used: '. ( round(get_dirsize($dirName) / 1024 / 1024, 2)) . ' MB</strong>';
    }
    add_action( 'wpmublogsaction', 'ds_upload_space_used');
    ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘List of blogs and Space Allowed/Used’ is closed to new replies.
Skip to toolbar