AJAX values converted to PHP Variables? October 22, 2022 by Tarik Billa You would save the Ajax response to the database. Here are a few tutorials that might be helpful: Tutorial on Using Ajax in WordPress Plugins How to Use Ajax for Data Insertion in WordPress How to Insert Data into Database using Ajax