wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



gallery_style › Filtr WordPress Hooks

Od7.0.0
Przestarzałyn/a
› apply_filters( 'gallery_style', $gallery_style . $gallery_div )
Parametry:
  • () gallery_style Default CSS styles and opening HTML div container for the gallery shortcode output.
    Wymagane: Tak
Zdefiniowane na:
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' );




Źródło

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