W3cubDocs

/WordPress

multisite_over_quota_message()

Displays the out of storage quota message in Multisite.

Description

Source

File: wp-admin/includes/media.php

function multisite_over_quota_message() {
	echo '<p>' . sprintf(
		/* translators: %s: allowed space allocation */
		__( 'Sorry, you have used your space allocation of %s. Please delete some files to upload more files.' ),
		size_format( get_space_allowed() * MB_IN_BYTES )
	) . '</p>';
}

Changelog

Version Description
3.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/multisite_over_quota_message