[ddownload_filesize]

You can output the file size of a download using the [ddownload_filesize] shortcode. You must supply a download ID and optional attributes can be supplied to further customise the output. To output a file size using the default settings: [ddownload_filesize id="123"]

You can find the ID of a download in the All Downloads screen.

All Downloads Screen

Attributes

The following are optional attributes that will modify the output.

format

Format the number (100000 becomes 97.66 KB). Default: true.

[ddownload_filesize id="123" format="false"]