apply_filters( ‘use_default_gallery_style’, bool $print )

In this article

Filters whether to print default gallery styles.

Parameters

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

Source


Changelog

VersionDescription
3.1.0Introduced.

User Contributed Notes

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