WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

display_space_usage() WP 3.0.0

Displays the amount of disk space used by the current site. Not used in core.

Хуков нет.

Возвращает

Null. Ничего.

Использование

display_space_usage();

Список изменений

С версии 3.0.0 Введена.

Код display_space_usage() WP 5.5.1

wp-admin/includes/ms.php
<?php
function display_space_usage() {
	$space_allowed = get_space_allowed();
	$space_used    = get_space_used();

	$percent_used = ( $space_used / $space_allowed ) * 100;

	$space = size_format( $space_allowed * MB_IN_BYTES );
	?>
	<strong>
	<?php
		/* translators: Storage space that's been used. 1: Percentage of used space, 2: Total space allowed in megabytes or gigabytes. */
		printf( __( 'Used: %1$s%% of %2$s' ), number_format( $percent_used ), $space );
	?>
	</strong>
	<?php
}