2020-05-01 / 4215阅 / 悠然
Retrieves the image HTML to send to the editor.
(int)
(Required)
Image attachment id.
(string)
(Required)
Image caption.
(string)
(Required)
Image title attribute.
(string)
(Required)
Image CSS alignment property.
(string)
(Optional)
Image src URL.
Default value: ''
(bool|string)
(Optional)
Value for rel attribute or whether to add a default value.
Default value: false
(string|array)
(Optional)
Image size. Accepts any valid image size, or an array of width and height values in pixels (in that order).
Default value: 'medium'
(string)
(Optional)
Image alt attribute.
Default value: ''
(string) The HTML output to insert into the editor.