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



post_gallery › WordPress Filter Hooks

Da4.2.0
Deprecaton/a
› apply_filters( 'post_gallery', '', $attr, $instance )
Parametri: (3)
  • () output The gallery output. Default empty.
    Richiesto: Sì
  • () attr Attributes of the gallery shortcode.
    Richiesto: Sì
  • () instance Unique numeric ID of this gallery shortcode instance.
    Richiesto: Sì
Vedi:
  • gallery_shortcode()
Definito a:
Codex:

Filters the default gallery shortcode output.

If the filtered output isn't empty, it will be used instead of generating the default gallery template.




Sorgenti

$output = apply_filters( 'post_gallery', '', $attr, $instance );