apply_filters( 'media_send_to_editor', string $html , int $send_id , array $attachment )
Filters the HTML markup for a media item sent to the editor.
Description
See also
Parameters
- $html
-
HTML markup for a media item sent to the editor.
- $send_id
-
The first key from the $_POST['send'] data.
- $attachment
-
Array of attachment metadata.
Source
Changelog
Version | Description |
---|---|
WP-2.5.0 | Introduced. |