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

(array) Post query arguments.

$type

(string) Mime type of the desired media.

$post

(mixed) Post ID or object.


Source

File: wp-includes/media.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.6.0 Introduced.