Home › Forums › Front-end Issues › Insert field at hook-position using function.php › Reply To: Insert field at hook-position using function.php
Hi There,
Thanks for the mail.
Is it possible that your issue is related to the global post ID parameter?
Kindly try passing the global post ID param as the second parameter to the get_field function and let me know you are able to load the value.
Hope to hear from you soon.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.