Filters the default gallery shortcode output.
Description
If the filtered output isn’t empty, it will be used instead of generating the default gallery template.
See also
Parameters
$outputstring- The gallery output. Default empty.
$attrarray- Attributes of the gallery shortcode.
$instanceint- Unique numeric ID of this gallery shortcode instance.
Source
*
Example Migrated from Codex:
Hook into the gallery shortcode and replace its output with your own.