Used By
Used By | Description |
---|---|
wp-includes/media.php: gallery_shortcode() | Builds the Gallery shortcode output. |
Filters the default gallery shortcode output.
If the filtered output isn’t empty, it will be used instead of generating the default gallery template.
(string) The gallery output. Default empty.
(array) Attributes of the gallery shortcode.
(int) Unique numeric ID of this gallery shortcode instance.
File: wp-includes/media.php
Version | Description |
---|---|
4.2.0 | The $instance parameter was added. |
2.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/post_gallery