Filters the HTML markup for a media item sent to the editor.
$htmlstring
$send_idint
'send'] data.$attachmentarray
$html = apply_filters( 'media_send_to_editor', $html, $send_id, $attachment );
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/media_send_to_editor