Codex tools: Log in
Displays the amount of disk space used by the current site.
<?php display_space_usage(); ?>
This function does not return a value, the output is displayed directly instead.
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