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



get_post_gallery ›

Desde3.6.0
Obsoleton/a
apply_filters( 'get_post_gallery', $gallery, $post, $galleries )
Parâmetros: (3)
  • (array) $gallery The first-found post gallery.
    Required: Yes
  • (int|WP_Post) $post Post ID or object.
    Required: Yes
  • (array) $galleries Associative array of all found post galleries.
    Required: Yes
Definido em:
Codex:

Filters the first-found post gallery.





Fonte

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