Filters the HTML content for the image tag.
Parameters
$htmlstring- HTML content for the image.
$idint- Attachment ID.
$altstring- Image description for the alt attribute.
$titlestring- Image description for the title attribute.
$alignstring- Part of the class name for aligning the image.
$sizestring|int[]- Requested image size. Can be any registered image size name, or an array of width and height values in pixels (in that order).
Source
* @param string $title Image description for the title attribute.
Changelog
| Version | Description |
|---|---|
| 2.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.