Home › Forums › General Issues › Ajax error: Class acf_field not found. › Reply To: Ajax error: Class acf_field not found.
Is it possible to get ACF included? I’m trying to do basically the same thing but just php. I have the code working correctly in a template. But I need it to run via wp_cron. None of the ACF functions work in functions.php. Is it possible to use the data I have in options fields in a function run by wp_cron? If so please give me an example of how to make it work.
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.