WordPress at a glance
filter is not described

get_attached_media filter-hook . WP 3.6.0

Filters the list of media attached to the given post.

Usage

add_filter( 'get_attached_media', 'filter_function_name_6025', 10, 3 );
function filter_function_name_6025( $children, $type, $post ){
	// filter...

	return $children;
}
$children(WP_Post[])
Array of media attached to the given post.
$type(string)
Mime type of the media desired.
$post(WP_Post)
Post object.

Changelog

Since 3.6.0 Introduced.

Where the hook is called

get_attached_media()
get_attached_media
wp-includes/media.php 4104
return (array) apply_filters( 'get_attached_media', $children, $type, $post );

Where in WP core the hook is used

Usage not found!