On this page
apply_filters( 'gallery_style', string $gallery_style )
Filters the default gallery shortcode CSS styles.
Parameters
$gallery_stylestring-
Default CSS styles and opening HTML div container for the gallery shortcode output.
Source
File: wp-includes/media.php. View all references
$output = apply_filters( 'gallery_style', $gallery_style . $gallery_div );
Related
Used By
| Used By | Description |
|---|---|
| gallery_shortcode() wp-includes/media.php | Builds the Gallery shortcode output. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/gallery_style