Used By
| Used By | Description | 
|---|---|
| wp-includes/media.php: wp_prepare_attachment_for_js() | Prepares an attachment post object for JS, where it is expected to be JSON-encoded and fit into an Attachment model. | 
Filters the attachment data prepared for JavaScript.
(array) Array of prepared attachment data.
(WP_Post) Attachment object.
(array|false) Array of attachment meta data, or false if there is none.
File: wp-includes/media.php
| Version | Description | 
|---|---|
| 3.5.0 | Introduced. | 
    © 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
    https://developer.wordpress.org/reference/hooks/wp_prepare_attachment_for_js