upload_size_limit

Advertisement

Summery Summery

Filters the maximum upload size allowed in php.ini.

Syntax Syntax

apply_filters( 'upload_size_limit', int $size, int $u_bytes, int $p_bytes )

Parameters Parameters

$size

(int) Max upload size limit in bytes.

$u_bytes

(int) Maximum upload filesize in bytes.

$p_bytes

(int) Maximum size of POST data in bytes.

Source Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.