apply_filters( 'wp_filesize', int $size, string $path )

Filters the size of the file.


Parameters

$size int
The result of PHP filesize on the file.
$path string
Path to the file.

Top ↑

Source

File: wp-includes/functions.php. View all references

return (int) apply_filters( 'wp_filesize', $size, $path );


Top ↑

Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.