wp_prepare_attachment_for_js – filter
Filters the attachment data prepared for JavaScript.
Parameters
- .
- ( 3.5.0 ) . .
- ( array ) $response Array of prepared attachment data. See {@see wp_prepare_attachment_for_js()}. . . .
- ( WP_Post ) $attachment Attachment object. . . .
- $meta
- ( array|false ) Array of attachment meta data, or false if there is none. . . .