2020-05-02 / 5586阅 / 悠然
Adds image shortcode with caption to editor
(string)
(Required)
The image HTML markup to send.
(integer)
(Required)
Image attachment ID.
(string)
(Required)
Image caption.
(string)
(Required)
Image title attribute (not used).
(string)
(Required)
Image CSS alignment property.
(string)
(Required)
Image source URL (not used).
(string)
(Required)
Image size (thumbnail, medium, large, full, or added with add_image_size()) (not used).
(string)
(Optional)
Image alt attribute (not used).
Default value: ''
(string) The image HTML markup with caption shortcode.