apply_filters( 'get_attached_media', array $children, string $type, mixed $post )

Filters the list of media attached to the given post.


Description Description


Parameters Parameters

$children

(array) Associative array of media attached to the given post.

$type

(string) Mime type of the media desired.

$post

(mixed) Post ID or object.


Top ↑

Source Source

File: wp-includes/media.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.