Core Function
View Source on Trac ↗ upload_is_user_over_quota()
upload_is_user_over_quota( mixed $display_message = true ) Checks whether a site has used its allotted upload space.
Parameters 1 required
| Name / Type | Description |
|---|---|
| bool | $display_message Optional. If set to true and the quota is exceeded, a warning message is displayed. Default true. Required |
Return Value
(bool)
True if user is over upload space quota, otherwise false.
Function Information
Since Version
MU (3.0.0)
Source File
wp-admin/includes/ms.php
Advertisement