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.


Top ↑

Source Source

File: wp-includes/media.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.