WordPress at a glance
filter is not described

upload_size_limit filter-hook . WP 2.5.0

Filters the maximum upload size allowed in php.ini.

Usage

add_filter( 'upload_size_limit', 'filter_function_name_7475', 10, 3 );
function filter_function_name_7475( $size, $u_bytes, $p_bytes ){
	// filter...

	return $size;
}
$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.

Changelog

Since 2.5.0 Introduced.

Where the hook is called

wp_max_upload_size()
upload_size_limit
wp-includes/media.php 3527
return apply_filters( 'upload_size_limit', min( $u_bytes, $p_bytes ), $u_bytes, $p_bytes );

Where in WP core the hook is used WordPress

wp-includes/media.php 99
add_filter( 'upload_size_limit', 'upload_size_limit_filter' );