Home › Forums › General Issues › Use update_field() with AJAX › Reply To: Use update_field() with AJAX
In order to have access to WP functions in ajax you need to use it the way that WP considers “proper”. Your need to make all ajax requests through admin-ajax.php.
The best information on using ajax in WP can be found here: http://codex.wordpress.org/AJAX_in_Plugins
All the information about functions and add_actions and so forth can be used in your functions.php file as well as it can be used in a plugin.
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.