Categories
diy

wp attachment image alt

Just a small note:

For retrieving ALT text of WordPress posts you’ll need to use _wp_attachment_image_alt meta key. BUT you’ll need to add ALT text for image from Media editing view not directly from the post. Changing an ALT text inside of the post’s visual editor will not save it in the same way in the database.

It took nearly an hour to clear this issue to me and Pjotr.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.