wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



gallery_style › WordPress Filter Hooks

Seit7.0.0
Veraltetn/v
apply_filters( 'gallery_style', $gallery_style . $gallery_div )
Parameter:
  • () gallery_style Default CSS styles and opening HTML div container for the gallery shortcode output.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the gallery shortcode's default CSS styles and opening HTML div container.

To remove the CSS entirely, use the `use_default_gallery_style` filter instead: add_filter( 'use_default_gallery_style', '__return_false' );




Quellcode

$output = apply_filters( 'gallery_style', $gallery_style . $gallery_div );