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

Post query arguments.

$type

Mime type of the desired media.

$post

Post object.

Source Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Advertisement

Leave a Reply