Summery Summery
Filters the image HTML markup to send to the editor when inserting an image.
Syntax Syntax
Parameters Parameters
- $html
-
The image HTML markup to send.
- $id
-
The attachment id.
- $caption
-
The image caption.
- $title
-
The image title.
- $align
-
The image alignment.
- $url
-
The image source URL.
- $size
-
Size of image. Image size or array of width and height values (in that order). Default 'medium'.
- $alt
-
The image alternative, or alt, text.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |