{"id":140939,"date":"2022-05-25T09:26:27","date_gmt":"2022-05-25T09:26:27","guid":{"rendered":"https:\/\/developer.wordpress.org\/reference\/functions\/wp_filesize\/"},"modified":"2026-08-20T01:23:15","modified_gmt":"2026-08-20T01:23:15","slug":"wp_filesize","status":"publish","type":"wp-parser-function","link":"https:\/\/developer.wordpress.org\/reference\/functions\/wp_filesize\/","title":{"rendered":"wp_filesize()"},"excerpt":{"rendered":"<p>Wrapper for PHP filesize with filters and casting the result as an integer.<\/p>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"wp-parser-source-file":[171],"wp-parser-package":[3],"wp-parser-since":[1170,1692],"class_list":["post-140939","wp-parser-function","type-wp-parser-function","status-publish","hentry","wp-parser-source-file-wp-includes_functions-php","wp-parser-package-wordpress","wp-parser-since-6-0-0","wp-parser-since-7-1-0"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/140939","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function"}],"about":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/types\/wp-parser-function"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/comments?post=140939"}],"version-history":[{"count":1,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/140939\/revisions"}],"predecessor-version":[{"id":142874,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-function\/140939\/revisions\/142874"}],"wp:attachment":[{"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/media?parent=140939"}],"wp:term":[{"taxonomy":"wp-parser-source-file","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-source-file?post=140939"},{"taxonomy":"wp-parser-package","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-package?post=140939"},{"taxonomy":"wp-parser-since","embeddable":true,"href":"https:\/\/developer.wordpress.org\/wp-json\/wp\/v2\/wp-parser-since?post=140939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}