Used By
Used By | Description |
---|---|
wp-includes/media.php: get_image_tag() | Gets an img tag for an image attachment, scaling it down if requested. |
Filters the HTML content for the image tag.
(string) HTML content for the image.
(int) Attachment ID.
(string) Image description for the alt attribute.
(string) Image description for the title attribute.
(string) Part of the class name for aligning the image.
(string|array) Size of image. Image size or array of width and height values (in that order). Default 'medium'.
File: wp-includes/media.php
Version | Description |
---|---|
2.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_image_tag