on-internet
← Community

WordPress WP_ajax not working

Stack Overflow ·

Have been looked at the WP ajax documentation for hours now and still can't figure this out. I am working on a plugin and this is for updating it's options without having to refresh the page. I've managed to accomplish it through wp-load, but know thats bad practice and would like to do it correctly. I will be moving the javascript to a separate .js file, once I have everything up and working. All of the code is in on single page. Trying to update some options via ajax and it just is not working. The response is saying its successful, but the current_form option is not being updated. Any help

Comments

Sign in or sign up to comment and upvote.

No comments yet.