apply_filters( 'get_attached_media', array $children, string $type, mixed $post )

Filters the list of media attached to the given post.


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

File: wp-includes/media.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.6.0 Introduced.