WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/upload is file too big

This page is marked as incomplete. You can help Codex by expanding it.

Description

Check whether an upload is too big.

Usage

<?php upload_is_file_too_big$upload ); ?>

Parameters

$upload
(array) (required) ????
Default: None

Return Value

(mixed) 
If the upload is under the size limit, $upload is returned. Otherwise returns an error message string.

Examples


Notes

Change Log

Since: MU

Source File

upload_is_file_too_big() is located in wp-includes/ms-functions.php

Related

 

See also index of Function Reference and index of Template Tags.