get_attached_media
最后更新于:2021-11-26 10:55:28
apply_filters( ‘get_attached_media’, GC_Post[] $children, string $type, GC_Post $post )
Filters the list of media attached to the given post.
参数
- $children
-
(GC_Post[])
Array of media attached to the given post. - $type
-
(string)
Mime type of the media desired. - $post
-
(GC_Post)
Post object.
源文件
文件: gc-includes/media.php