Home › Forums › General Issues › Ajax error: Class acf_field not found. › Reply To: Ajax error: Class acf_field not found.
Hi @DanielB
Good question..
In short, I’m not 100% sure how to do this. You would need to instantiate WP and include the ACF plugin making sure all the correct add-ons and actions were called for the plugin to function.
Perhaps your cron could just target a url which you could then work from within WP?
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.