use_default_gallery_style

Advertisement

Summery Summery

Filters whether to print default gallery styles.

Syntax Syntax

apply_filters( 'use_default_gallery_style', bool $print )

Parameters Parameters

$print

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

Source Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.