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



get_post_gallery › WordPress Filter Hooks

Da3.6.0
Deprecaton/a
› apply_filters( 'get_post_gallery', $gallery, $post, $galleries )
Parametri: (3)
  • () gallery The first-found post gallery, or false if the post has no gallery. An HTML string when `$html` is true, otherwise an array.
    Richiesto: Sì
  • () post Post ID or object.
    Richiesto: Sì
  • () galleries Associative array of all found post galleries.
    Richiesto: Sì
Definito a:
Codex:

Filters the first-found post gallery.





Sorgenti

return apply_filters( 'get_post_gallery', $gallery, $post, $galleries );