Filters the size of the file.
$sizeint
$pathstring
return (int) apply_filters( 'wp_filesize', $size, $path );
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_filesize