wp_ajax_send_attachment_to_editor
wp_ajax_send_attachment_to_editor ( No parameters )
- Introduced in WordPress: 3.5.0
- Deprecated in WordPress: —
Description
Ajax handler for sending an attachment to the editor.Generates the HTML to send an attachment to the editor.
Backward compatible with the {@see 'media_send_to_editor'} filter
and the chain of filters that follow.