upload_is_file_too_big

Advertisement

Summery Summery

Check whether an upload is too big.

Syntax Syntax

upload_is_file_too_big( array $upload )

Parameters Parameters

$upload

(Required)

Return Return

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

Source Source

File: wp-includes/ms-functions.php

/**
 * Ensure that the current site's domain is listed in the allowed redirect host list.
 *
 * @see wp_validate_redirect()
 * @since MU (3.0.0)
 *
 * @param array|string $deprecated Not used.
 * @return string[] {
 *     An array containing the current site's domain.
 *
 *     @type string $0 The current site's domain.
 * }

Advertisement

Changelog Changelog

Changelog
Version Description
MU (3.0.0) Introduced.

Advertisement

Leave a Reply