How To Get Image Url From ACF Option Page

Share Now

Share on facebook
Share on pinterest
Share on twitter
Share on linkedin
Share on email

Create an Option page from functions.php. Add this code in functions.php file
#CODE EXAMPLE

***While creating the image custom field for the Option Page, Your Image Return Format should be set as “Image ID”.

Now echo the image url.
#CODE EXAMPLE

Nahid Mahamud

Nahid Mahamud

Web Developer | Graphic Designer | WordPress & Woo-commerce Expert