Filters the HTML markup for a media item sent to the editor.
Description
See also
Parameters
$htmlstring- HTML markup for a media item sent to the editor.
$send_idint- The first key from the $_POST[
'send'] data. $attachmentarray- Array of attachment metadata.
Source
$html = apply_filters( 'media_send_to_editor', $html, $send_id, $attachment );
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.