apply_filters( 'get_attached_media', array $children , string $type , mixed $post )
Filters the list of media attached to the given post.
Description Description
Parameters Parameters
- $children
-
(array) Associative array of media attached to the given post.
- $type
-
(string) Mime type of the media desired.
- $post
-
(mixed) Post ID or object.
Source Source
File: wp-includes/media.php
Changelog Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |