apply_filters( 'import_upload_size_limit', int $max_upload_size )

Filters the maximum allowed upload size for import files.

Description

See also

Parameters

$max_upload_size

(int) Allowed upload size. Default 1 MB.

Source

File: wp-admin/includes/template.php

View on Trac

Changelog

Version Description
2.3.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/import_upload_size_limit