# elementor/4.3.2/migrations/operations/email-to-emails.json

Elementor Website Builder – more than just a page builder, version 4.3.2. 36 lines.

- Page: https://pluginprobe.com/plugins/elementor/4.3.2/code/migrations/operations/email-to-emails.json
- Raw: https://pluginprobe.com/plugins/elementor/4.3.2/raw/migrations/operations/email-to-emails.json
- Modified: 2026-07-20T13:54:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/4.3.2/code/migrations/operations/email-to-emails.json#L10-L20`.

```json
{
  "up": [
    { "op": { "fn": "set", "path": "$$type", "value": "emails" } },

    { "op": { "fn": "move", "src": "value.to", "dest": "__temp_to" } },
    {
      "op": { "fn": "set", "path": "value.to", "value": { "$$type": "string-array", "value": [] }, "merge": false },
      "condition": { "fn": "exists", "path": "__temp_to" }
    },
    { "op": { "fn": "move", "src": "__temp_to", "dest": "value.to.value.[]" } },

    { "op": { "fn": "move", "src": "value.cc", "dest": "__temp_cc" } },
    {
      "op": { "fn": "set", "path": "value.cc", "value": { "$$type": "string-array", "value": [] }, "merge": false },
      "condition": { "fn": "exists", "path": "__temp_cc" }
    },
    { "op": { "fn": "move", "src": "__temp_cc", "dest": "value.cc.value.[]" } },

    { "op": { "fn": "move", "src": "value.bcc", "dest": "__temp_bcc" } },
    {
      "op": { "fn": "set", "path": "value.bcc", "value": { "$$type": "string-array", "value": [] }, "merge": false },
      "condition": { "fn": "exists", "path": "__temp_bcc" }
    },
    { "op": { "fn": "move", "src": "__temp_bcc", "dest": "value.bcc.value.[]" } }
  ],
  "down": [
    { "op": { "fn": "set", "path": "$$type", "value": "email" } },

    { "op": { "fn": "move", "src": "value.to.value.[0]", "dest": "value.to" } },

    { "op": { "fn": "move", "src": "value.cc.value.[0]", "dest": "value.cc" } },

    { "op": { "fn": "move", "src": "value.bcc.value.[0]", "dest": "value.bcc" } }
  ]
}

```
