apply_filters( 'get_attached_media', WP_Post[] $children , string $type , WP_Post $post )
Filters the list of media attached to the given post.
Parameters
Source
File: wp-includes/media.php
.
View all references
return (array) apply_filters( 'get_attached_media', $children, $type, $post );
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |