{"id":18147347,"date":"2024-11-19T22:08:57","date_gmt":"2024-11-19T22:08:57","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/filesize-column\/"},"modified":"2024-11-19T22:08:57","modified_gmt":"2024-11-19T22:08:57","slug":"filesize-column","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/filesize-column\/","title":{"rendered":"Filesize column"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This is a really handy plugin, thanks! <br \/><br \/>I&#8217;m not sure if this is helpful to anyone else, but I added a file size column to the existing options.  <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>case 'size':<br \/>     $data&#091;$data_type]&#091;$counter] .= size_format(filesize(get_attached_file(get_the_ID()))). $line_break;<br \/>     break;<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-18147347","topic","type-topic","status-publish","hentry","topic-tag-filesize"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18147347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18147347\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18147347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}