I’m trying to filter WordPress gallery and image caption shortcodes through the following:
I know these work when either a gallery or image caption is inside the main textarea.
I was wondering, if anyone knew how to apply the same filters to the same shortcodes that are inside ACF WYSIWYG fields? Or is a better method?
Any shortcodes that work in the standard WP WYSIWYG editor in WP should work in an ACF WYSIWYG field. Since these filters are applied in the gallery shortcode then they should still be called if using that shortcode.