Core Function
View Source on Trac ↗ upload_is_file_too_big()
upload_is_file_too_big( mixed $upload ) Checks whether an upload is too big.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $upload array | An array of information about the newly-uploaded file. Required |
Return Value
((string)
| array) If the upload is under the size limit, $upload is returned. Otherwise returns an error message.
Function Information
Since Version
MU (3.0.0)
Source File
wp-includes/ms-functions.php
Advertisement