URL through custom field returning null

Question

I have added an image through advanced custom field. I want to retrieve image URL. I have tried with following code. It is returning null.

 $url = get_field('aboutus_img','aboutus');

aboutus_img = field name
aboutus = field group name

0
ajay upadrasta 4 months 2021-01-01T07:11:03-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse