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 3557
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_timezone
,
wp_delete_site
,
wp_filter_kses
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
4
_build_block_template_object_from_post_object
wp_autoload_values_to_autoload
wp_determine_option_autoload_value
wp_filter_default_autoload_value_via_option_size
My Bookmarks
- Soon -
About
Imprint
Privacy Policy