W3cubDocs

/WordPress

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.

Source

File: wp-includes/media.php

View on Trac

Changelog

Version Description
3.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/use_default_gallery_style