apply_filters( ‘gallery_style’, string $gallery_style )

In this article

Filters the default gallery shortcode CSS styles.

Parameters

$gallery_stylestring
Default CSS styles and opening HTML div container for the gallery shortcode output.

Source

$output = apply_filters( 'gallery_style', $gallery_style . $gallery_div );

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.