get_space_used

Advertisement

Summery Summery

Returns the space used by the current site.

Syntax Syntax

get_space_used()

Return Return

(int) Used space in megabytes.

Source Source

File: wp-includes/ms-functions.php

			'archived'               => 0,
			'count'                  => true,
			'update_site_meta_cache' => false,
		)
	);

	update_network_option( $network_id, 'blog_count', $count );
}

/**
 * Update the network-wide user count.
 *
 * @since 3.7.0
 * @since 4.8.0 The `$network_id` parameter has been added.
 *
 * @global wpdb $wpdb WordPress database abstraction object.

Advertisement

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.

Advertisement

Leave a Reply