Allow filtering the attachment ID used to fetch and populate metadata about an image in a gallery.
Parameters
- $attachment_id
int Attachment ID pulled from image HTML.
- $image_html
string Full HTML image tag.
Changelog
- Introduced in Jetpack 12.6
jetpack_carousel_image_attachment_idAllow filtering the attachment ID used to fetch and populate metadata about an image in a gallery.
intAttachment ID pulled from image HTML.
stringFull HTML image tag.