get_post_gallery

最后更新于:2021-11-26 23:00:14

apply_filters( ‘get_post_gallery’, array $gallery, int|GC_Post $post, array $galleries )

Filters the first-found post gallery.

参数

$gallery

(array)
The first-found post gallery.

$post

(int|GC_Post)
Post ID or object.

$galleries

(array)
Associative array of all found post galleries.

源文件

文件: gc-includes/media.php

View on Trac