upload_is_file_too_big


upload_is_file_too_big ( $upload )

Parameters:
  • (array) $upload
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

Check whether an upload is too big.

Related Functions

upload_space_setting, upload_is_user_over_quota, load_image_to_edit, add_user_to_blog, upload_size_limit_filter

Top Google Results

User discussions

wpseek mobile