wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



gallery_style › Hooks de Filtros WordPress

Desde7.0.0
Obsoleton/a
› apply_filters( 'gallery_style', $gallery_style . $gallery_div )
Parâmetros:
  • () gallery_style Default CSS styles and opening HTML div container for the gallery shortcode output.
    Required: Yes
Definido em:
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' );




Fonte

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