Any filter that applies to item_image_gallery?


Is there any way to apply a filter to item_image_gallery function? I see there’s a bunch of filters associated to files and their markup, but is any of them working with the aforementioned function?

I’d like to add, for instance, a target to all files linked by the function, or to hide them according to specific plugin parameters, etc.


p.s.: there seems to be a mistake in the example code at, I think the correct name for the filter should be filterFileMarkupOptions (and not filterHtmlPurifierConfigSetup)

Looks like there’s no filter for that function.

I was afraid you’d answer so.
Should I open an Issue on GitHub for it?