1787 | | return $output; |
| 1787 | /** |
| 1788 | * Filters the default gallery shortcode output after retrieving attachments. |
| 1789 | * |
| 1790 | * @since 4.7.0 |
| 1791 | * |
| 1792 | * @param string $output Gallery output |
| 1793 | * @param array $attachments An array of attachments to display in the gallery |
| 1794 | * @param string $gallery_style Default CSS styles and opening HTML div container |
| 1795 | * for the gallery shortcode output. |
| 1796 | * @param array $atts An array of shortcode attributes. |
| 1797 | * @param int $instance Unique numeric ID of this gallery shortcode instance. |
| 1798 | */ |
| 1799 | return apply_filters( 'gallery_output', $output, $attachments, $gallery_style, $atts, $instance ); |