check_upload_size
check_upload_size ( $file )
Parameters:- (array) file An element from the `$_FILES` array for a given file.
Returns:- (array) The `$_FILES` array element with 'error' key set if file exceeds quota. 'error' is empty otherwise.
Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Determines whether uploaded file exceeds space quota.