Filter hook 'get_attached_media'

in WP Core File wp-includes/media.php at line 5010

Description

Filters the list of media attached to the given post.

Occurrences

Filename Line Number
wp-includes/media.php 5010

Parameters

Type Name Description
WP_Post[] $children Array of media attached to the given post.
string $type Mime type of the media desired.
WP_Post $post Post object.

PHP Doc

/**
	 * Filters the list of media attached to the given post.
	 *
	 * @since 3.6.0
	 *
	 * @param WP_Post[] $children Array of media attached to the given post.
	 * @param string    $type     Mime type of the media desired.
	 * @param WP_Post   $post     Post object.
	 */