var formData = $(‘#contact_form’).serializeArray();
formData.push({ name: "<something>", value: "<somevalue>" });
submitForm(formData);
var formdata = $('#post-form').serializeArray(); formdata.push({ name: "action", value: "create_post_shortcode" }); console.log(formdata);