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