WP Ajax DB issues September 6, 2022 by Tarik Billa I found the solution. data = JSON.parse(data); was needed on the JS side for receiving the data.