Get image url using image id
You can use REST API to retrieve media item. Just send GET request to this address (change example.com to your site): http://example.com/wp-json/wp/v2/media/<id> If you pass correct ID, then you’ll get all info regarding that media file. For example I get something like this for one of my image files: { “id”: 546, “date”: “2019-01-23T11:22:15”, “date_gmt”: … Read more