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
See also
Parameters
- $max_upload_size
(int)Allowed upload size. Default 1 MB.
Source
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |