I've made a custom WordPress post and it has many fields to input. Also, I've made a custom plugin that calls the API from the other site and creates posts using the API results. The other things are working well. But in my custom posts, there's a gallery to show the thumbnail images and I can get the image urls from the API.
"Images": [
{
"Priority": "0",
"Caption": "",
"Uri": "https://images.boatsgroup.com/images/1/68/46/7376846_20200225094022955_1_XLARGE.jpg",
"LastModifiedDateTime": "2020-02-25T09:49:53-08:00"
}]
So I've added the images manually to check where the images are saved in the database. But I am not sure.
I want to know:
- Where can I find the saved data for the gallery in the database?
- How to create posts using the image URLs from API results automatically?
If anybody has experience in this kind of problem, help me, please.