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

foreach ( $_attachments as $key => $val ) {

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

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