import_upload_size_limit WordPress Filter Hook

The import_upload_size_limit hook allows you to change the maximum upload size for importing files into WordPress. This can be useful if you need to import large files and the default upload size limit is too small.

apply_filters( 'import_upload_size_limit', int $max_upload_size ) #

Filters the maximum allowed upload size for import files.


Description

Top ↑

See also


Top ↑

Parameters

$max_upload_size

(int)Allowed upload size. Default 1 MB.


Top ↑

Source

File: wp-admin/includes/template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.