upload_is_file_too_big


upload_is_file_too_big ( $upload )

Parameters:
  • (array) upload An array of information about the newly-uploaded file.
Returns:
  • (string|array) If the upload is under the size limit, $upload is returned. Otherwise returns an error message.
Defined at:
Change Log:
  • M: U

Description

Checks whether an upload is too big.

Related Functions

upload_space_setting, load_image_to_edit, upload_is_user_over_quota, add_user_to_blog, upload_size_limit_filter

Top Google Results

User discussions

wpseek mobile