WordPress开发者和主题制作者的搜索引擎



get_post_gallery ›

Since3.6.0
已弃用n/a
apply_filters( 'get_post_gallery', $gallery, $post, $galleries )
参数: (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
定义在:
文档:

Filters the first-found post gallery.





源码

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