apply_filters( 'va_upload_size_limit', int $size , int $u_bytes , int $p_bytes )
Filters the maximum upload size allowed in php.ini.
Package
Description Description
Use this if you want to restrict size limits for front-end user uploads.
Parameters Parameters
- $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 Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |