A WordPress-centric search engine for devs and theme authors



use_default_gallery_style ›

Since3.1.0
Deprecatedn/a
apply_filters( 'use_default_gallery_style', ! $html5 )
Parameters:
  • (bool) $print Whether to print default gallery styles. Defaults to false if the theme supports HTML5 galleries. Otherwise, defaults to true.
    Required: Yes
Defined at:
Codex:

Filters whether to print default gallery styles.





Source

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