Get ACF images in rest api
-
Hi, I had a look at the FAQ and did a search on this forum but couldn’t find anything (doesn’t mean it isn’t there, I just couldn’t find anything). But basically I have uploaded some images using Advanced custom fields and I can see that your plugin has converted the images to webp in their default folders. I have created a custom endpoint in WordPress where I can send the ACF image eg:
$banner_img = get_field('banner_img', $pageId); return $banner_img;Is it possible to get the webp version in a similar fashion with the sizes too?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Get ACF images in rest api’ is closed to new replies.