Filters the image HTML markup to send to the editor when inserting an image.
$htmlstring$idint$captionstring$titlestring$alignstring$urlstring$sizestring|int[]$altstring$relstringwp-admin/includes/media.php:168get_image_send_to_editor() * @param string $url The image source URL. * @param string|int[] $size Requested image size. Can be any registered image size name, or * an array of width and height values in pixels (in that order). * @param string $alt The image alternative, or alt, text. * @param string $rel The image rel attribute. */ $html = apply_filters( 'image_send_to_editor', $html, $id, $caption, $title, $align, $url, $size, $alt, $rel ); return $html;} /** * Adds image shortcode with caption to editor.Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.