apply_filters( 'get_attached_media_args', array $args, string $type, mixed $post )

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


Parameters

$args

Post query arguments.

$type

Mime type of the desired media.

$post

Post ID or object.


Source

File: wp-includes/media.php

View on GitHub


Changelog

Changelog
Version Description
WP-3.6.0 Introduced.