Получите миниатюру alt wordpress
get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true );
Xenophobic Xenomorph
get_post_meta( get_post_thumbnail_id(), '_wp_attachment_image_alt', true );