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

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


Description


Parameters

$args

(array) Post query arguments.

$type

(string) Mime type of the desired media.

$post

(mixed) Post ID or object.


Top ↑

Source

File: wp-includes/media.php

View on Trac


Top ↑

Changelog

Version Description
3.6.0 Introduced.