At first you should add column to export ( it will be empty).


1. open section "Setup fields" 

2. open section "Common" 

3. click button "Add Field"

4. type  custom meta key in textbox (below the select)

5. fill "Column name" 

6. press button "Confirm"


I use "custom_address" as meta key on the screenshot



I moved new field  from right column to left column (list of exported fields),  pressed button  "Preview"  and got  empty column.





Now you should create  calculating function


1. Close section "Setup fields"  and open section "Misc Settings"

2. Mark checkbox "Custom PHP code to modify output"

3. Paste following draft function to the textarea

add_filter('woe_get_order_value_{FIELD}',function ($value, $order,$fieldname) {

  $value = "text";
  return $value;
},10,3);

4. replace {FIELD} with your meta key (see 1st phase) .

5. replace $value = "text";  with your code.


I use meta key  "custom_address" and following code to combine state and postcode.

$value = $order->get_shipping_state() . '-'  .$order->get_shipping_postcode();

I pressed button "Preview" and got  necessary values


if button "Preview"  has no effect  - it means there is an error in the code.

So you should  mark checkbox "Enable debug output" too.