Closed jakobbuis closed 7 years ago
In the current state, it is not possible to retrieve the alt-text of an Image Field. Exposing the attachment on the Image class results in a similar API to ThumbnailMeta, so one can retrieve image-meta-data through
$image->attachment->meta->_wp_attachment_image_alt;
In the current state, it is not possible to retrieve the alt-text of an Image Field. Exposing the attachment on the Image class results in a similar API to ThumbnailMeta, so one can retrieve image-meta-data through