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_id
Allow filtering the attachment ID used to fetch and populate metadata about an image in a gallery.
int
Attachment ID pulled from image HTML.
string
Full HTML image tag.