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

Filters the list of media attached to the given post.


Parameters

$children

Associative array of media attached to the given post.

$type

Mime type of the media desired.

$post

Post ID or object.


Source

File: wp-includes/media.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.6.0 Introduced.