Unable to parse JSON response from wp_send_json_success

Trying to do this the WordPress way: wp_send_json_success PHP processing save_form return: $response = array( 'messages' => $message ); wp_send_json_success( $response ); jQuery: $j.ajax({ type: 'POST', url: ajax_url, data: { action: 'save_form', form_id: $j('#form_id').val(), full_name: $j('#full_name').val(), email: $j('#email').val(), signup_nonce: $j('#signup_nonce').val() }, success: function (response) { console.log(response.messages); }, error: function (response) { } }); return false; … Read more

importing third party json feed as custom post type

I have a third party json feed http://feeds.artlogic.net/artworks/artlogiconline/json/ that i need to use to import data in wordpress as a custom post type called “artwork”. Are there are handy plugins that could map this data. Or are there any handy api that would make this easier to code. I’m newest to wordpress development. Answers: Thank … Read more