apply_filters( 'use_default_gallery_style', bool $print )

Filters whether to print default gallery styles.


Parameters

$print bool
Whether to print default gallery styles.
Defaults to false if the theme supports HTML5 galleries.
Otherwise, defaults to true.

Top ↑

Source

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

if ( apply_filters( 'use_default_gallery_style', ! $html5 ) ) {


Top ↑

Changelog

Changelog
Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes

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