apply_filters( 'wp_prepare_attachment_for_js', array $response , int|object $attachment , array $meta )
Filters the attachment data prepared for JavaScript.
Parameters
- $response
-
(array) Array of prepared attachment data.
- $attachment
-
(int|object) Attachment ID or object.
- $meta
-
(array) Array of attachment meta data.
Source
File: wp-includes/media.php
Changelog
Version | Description |
---|---|
WP-3.5.0 | Introduced. |