apply_filters( 'gallery_style', string $gallery_style )

Filters the default gallery shortcode CSS styles.


Parameters

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

Top ↑

Source

File: wp-includes/media.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes

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