Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/media.php | apply_filters | 4784 | /** * Filters arguments used to retrieve media attached to the given post. * * @since 3.6.0 * * @param array $args Post query arguments. * @param string $type Mime type of the desired media. * @param WP_Post $post Post object. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array | $args | Post query arguments. |
string | $type | Mime type of the desired media. |
WP_Post | $post | Post object. |