upload_size_limit_filter

Advertisement

Summery Summery

Filters the maximum upload file size allowed, in bytes.

Syntax Syntax

upload_size_limit_filter( int $size )

Parameters Parameters

$size

(Required) Upload size limit in bytes.

Return Return

(int) Upload size limit in bytes.

Source Source

File: wp-includes/ms-functions.php

	}

	$space_used = get_space_used() * MB_IN_BYTES;

	if ( ( $space_allowed - $space_used ) <= 0 ) {
		return 0;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Advertisement

Leave a Reply