How do I get all the data from the form?
$.ajax({
  url: '/wp-admin/admin-ajax.php',
  method: 'post',
  data: {
    action: 'form_handler_subscribtion',
     // 
  },
  success: function ( success ) {
  },
  fail: function( fail) {
  }
});
I can get the data by specifying each field manually, but I would like to get it automatically. Can you tell me how to do this?
 
     
    