Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/media.php | apply_filters | 4341 | /** * Filters the attachment data prepared for JavaScript. * * @since 3.5.0 * * @param array $response Array of prepared attachment data. @see wp_prepare_attachment_for_js(). * @param WP_Post $attachment Attachment object. * @param array|false $meta Array of attachment meta data, or false if there is none. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array | $response | Array of prepared attachment data. @see wp_prepare_attachment_for_js(). |
WP_Post | $attachment | Attachment object. |
array|false | $meta | Array of attachment meta data, or false if there is none. |