Used By
Used By | Description |
---|---|
wp-admin/includes/media.php: get_image_send_to_editor() | Retrieves the image HTML to send to the editor. |
Filters the image HTML markup to send to the editor when inserting an image.
(string) The image HTML markup to send.
(int) The attachment ID.
(string) The image caption.
(string) The image title.
(string) The image alignment.
(string) The image source URL.
(string|array) Size of image. Image size or array of width and height values (in that order). Default 'medium'.
(string) The image alternative, or alt, text.
Version | Description |
---|---|
2.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/image_send_to_editor