get_attached_media_args

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$args

(array) Post query arguments.

$type

(string) Mime type of the desired media.

$post

(WP_Post) Post object.

Source Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.