multisite_over_quota_message()
Displays the out of storage quota message in Multisite.
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–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/multisite_over_quota_message