Summery Summery
Filters the HTML content for the image tag.
Syntax Syntax
Parameters Parameters
- $html
-
(string) HTML content for the image.
- $id
-
(int) Attachment ID.
- $alt
-
(string) Image description for the alt attribute.
- $title
-
(string) Image description for the title attribute.
- $align
-
(string) Part of the class name for aligning the image.
- $size
-
(string|array) Size of image. Image size or array of width and height values (in that order). Default 'medium'.
Source Source
File: wp-includes/media.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |