Filters the maximum upload size allowed in php.ini.
Parameters
$sizeint- Max upload size limit in bytes.
$u_bytesint- Maximum upload filesize in bytes.
$p_bytesint- Maximum size of POST data in bytes.
Source
if ( ! empty( $attachment->post_mime_type ) ) {
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
The third parameter is the priority to call the callback function. 10 is the default.