Filters the size of the file.
Parameters
$sizeint- The result of PHP filesize on the file.
$pathstring- Path to the file.
Source
return (int) apply_filters( 'wp_filesize', $size, $path );
Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |
Filters the size of the file.
$sizeint$pathstringreturn (int) apply_filters( 'wp_filesize', $size, $path );
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.