check_upload_size


check_upload_size ( $file )

Parameters:
  • (array) $file $_FILES array for a given file.
Returns:
  • (array) $_FILES array with 'error' key set if file exceeds quota. 'error' is empty otherwise.
Defined at:

Description

Determine if uploaded file exceeds space quota.

Related Functions

check_upload_mimes, wp_max_upload_size, media_upload_file, media_upload_image, media_upload_video

Top Google Results

User discussions

wpseek mobile