New in version 2.7.


Filter the HTML for displaying all files for an item.

The file_markup filter is used to modify the HTML markup for displaying a single file, but this filter can be used to modify the markup for all the files being displayed as a whole (for example, to add markup that comes before or after, or wraps around, all the displayed files).


string $html
The HTML for displaying the files


Item item
The item object
array options
Options to pass to the callback
string wrapperAttributes
Attributes to apply to the wrapping <div> element

See Also