Codex tools: Log in
Contents |
Displays the amount of disk space used by a site.
<?php display_space_usage(); ?>
none
Outputs a preformatted string (see example)
The following are all examples of output when using display_space_usage():
<strong>Used: 25% of 50MB</strong>
<strong>Used: 15% of 2GB</strong>
(Note: The <strong> tags wrap the text displayed by display_space_usage() and are not an error in the examples above)
display_space_usage() is located in wp-admin/includes/ms.php.