Summery Summery
Gets the file size (in bytes).
Syntax Syntax
Parameters Parameters
- $file
-
(Required) Path to file.
Return Return
(int|false) Size of the file in bytes on success, false on failure.
Source Source
File: wp-admin/includes/class-wp-filesystem-direct.php
} /**
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |