Filters the size of the file.
Parameters
$size
int- The result of PHP filesize on the file.
$path
string- 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.
$size
int$path
stringreturn (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.