WordPress at a glance
filter is not described

get_attached_media_args filter-hook . WP 3.6.0

Filters arguments used to retrieve media attached to the given post.


add_filter( 'get_attached_media_args', 'filter_function_name_210', 10, 3 );
function filter_function_name_210( $args, $type, $post ){
	// filter...

	return $args;
Post query arguments.
Mime type of the desired media.
Post ID or object.

Where the hook is called

wp-includes/media.php 3840
$args = apply_filters( 'get_attached_media_args', $args, $type, $post );

Where the hook is used (in WP core)

Does not used.