wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_filesize › WordPress Filter Hooks

Since6.0.0
Deprecatedn/a
apply_filters( 'wp_filesize', $size, $path )
Parameters: (2)
  • () size The result of PHP filesize on the file.
    Required: Yes
  • () path Path to the file.
    Required: Yes
Defined at:
Codex:

Filters the size of the file.





Source

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