WordBlocks Pro includes Import / Export tools so you can copy WordBlocks settings from one site to another using a validated JSON file workflow.
This feature exports WordBlocks-related options to JSON, then imports the same option set into another WordPress install. It is designed for repeatable setup migration between staging, client, and production environments.
| Tool | What it does | Enforcement | Notes |
|---|---|---|---|
| Export | Builds a JSON download containing WordBlocks option values. | manage_options capability + export nonce check. |
Filename pattern: wordblocks-export-YYYYmmdd-HHMMSS.json. |
| Import | Reads uploaded JSON and updates allowed WordBlocks options. | manage_options capability + import nonce check. |
Accepts application/json and .json uploads. |
| Option filtering | Restricts import/export to approved WordBlocks namespaces. | Prefix whitelist validation on each option key. | Allowed prefixes: wordblocks_, wordblocks-pro_, wordblockspro_. |
| Status feedback | Reports success/invalid file/empty file outcomes in admin. | Redirect status flags rendered as admin notices. | Includes imported option count on successful runs. |
Use Import / Export to duplicate WordBlocks configuration quickly while keeping the process explicit and auditable.
From WordBlocks > Import / Export, generate the JSON snapshot of current settings.
On the target site, import the JSON file using the same admin page.
Confirm expected options and block behavior, then proceed with content and page publishing.
Use Import / Export together with feature governance pages like Block Locking and White Label to standardize client handoffs.