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

Filters the size of the file.


Parameters

$size

The result of PHP filesize on the file.

$path

Path to the file.


Source

File: wp-includes/functions.php

View on GitHub


Changelog

Changelog
Version Description
6.0.0 Introduced.