I've had a look in the database, but have not been able to find it.
I'm talking about the caption, description etc.
I'm doing a custom gallery and I need to access this information.
So where does WordPress store this info?
The wp_usermeta table stores metadata about most users, such as roles, capabilities, dashboard settings and even first and last names. Metadata added by plugins and themes.
Where are your media files stored? Your media files are uploaded to the /wp-content/uploads/folder.
View Thumbnails Generated on Your Site You can view all the uploaded media files from the menu “Media > Library” in your WordPress admin panel.
It is stored in wp_posts
and wp_postmeta
Run these SQL Queries to have a look
SELECT *
FROM `wp_posts`
WHERE `post_type` = 'attachment'
SELECT *
FROM `wp_postmeta`
WHERE `meta_key` like '_wp_attach%'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With