wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



post_gallery › Les Filtres WordPress

Depuis4.2.0
Dépréciéen/a
› apply_filters( 'post_gallery', '', $attr, $instance )
Paramètres: (3)
  • () output The gallery output. Default empty.
    Requis: Oui
  • () attr Attributes of the gallery shortcode.
    Requis: Oui
  • () instance Unique numeric ID of this gallery shortcode instance.
    Requis: Oui
Voir:
  • gallery_shortcode()
Défini(e) dans:
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.




Source

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