Menu
wpseek
mobile
Search
wp_filesize
wp_filesize
(
$path
)
Parameters:
(string)
path
Path to the file.
Links:
https://www.php.net/manual/en/function.filesize.php
Returns:
(int) The size of the file in bytes, or 0 in the event of an error.
Defined at:
wp-includes/functions.php
, line 3597
Introduced in WordPress:
6.0.0
Deprecated in WordPress:
—
Description
Wrapper for PHP filesize with filters and casting the result as an integer.
Related Functions
wp_filesystem
,
wp_getimagesize
,
wp_delete_site
,
wp_filter_kses
,
wp_insert_site
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
1
wp_print_auto_sizes_contain_css_fix
My Bookmarks
- Soon -
About
Imprint
Privacy Policy