wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



gallery_style › WordPress Filter Hooks

Da7.0.0
Deprecaton/a
› apply_filters( 'gallery_style', $gallery_style . $gallery_div )
Parametri:
  • () gallery_style Default CSS styles and opening HTML div container for the gallery shortcode output.
    Richiesto: Sì
Definito a:
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' );




Sorgenti

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