Filter hook 'wp_get_attachment_metadata'

in WP Core File wp-includes/post.php at line 6613

Description

Filters the attachment meta data.

Occurrences

Filename Line Number
wp-includes/post.php 6613

Parameters

Type Name Description
array $data Array of meta data for the given attachment.
int $attachment_id Attachment post ID.

PHP Doc

/**
	 * Filters the attachment meta data.
	 *
	 * @since 2.1.0
	 *
	 * @param array $data          Array of meta data for the given attachment.
	 * @param int   $attachment_id Attachment post ID.
	 */