如何从 Wordpress 图像附件中获取图像“alt”值?

解决

https://wordpress.stackexchange.com/questions/279399/how-to-get-image-alt-value-from-wordpress-image-attachment
<?php echo get_post_meta( $images[1], '_wp_attachment_image_alt', true ); ?>

效果