Check whether an upload is too big.
<?php upload_is_file_too_big( $upload ); ?>
- (array) (required) ????
- Default: None
- If the upload is under the size limit, $upload is returned. Otherwise returns an error message string.
upload_is_file_too_big() is located in