WPDev.one
Core Function
View Source on Trac ↗

image_media_send_to_editor()

image_media_send_to_editor( mixed $html, mixed $attachment_id, mixed $attachment )

Retrieves the media element HTML to send to the editor.

Parameters 3 required

Name / Type Description
string

$html

Required
int

$attachment_id

Required
array

$attachment

Required

Return Value

(string)
string

Function Information

Since Version
2.5.0
Source File
wp-admin/includes/media.php
Advertisement