Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/media.php | apply_filters | 411 | /** * Filters the HTML content for the image tag. * * @since 2.6.0 * * @param string $html HTML content for the image. * @param int $id Attachment ID. * @param string $alt Image description for the alt attribute. * @param string $title Image description for the title attribute. * @param string $align Part of the class name for aligning the image. * @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). */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $class | CSS class name or space-separated list of classes. |
int | $id | Attachment ID. |
string | $align | Part of the class name for aligning the image. |
string|int[] | $size | Requested image size. Can be any registered image size name, or |