Docs/Builder Documentation/Export/Import & Bake to PHP
Export/Import & Bake to PHP
Two different ways to move a builder's output out of the database it was saved in. Full walkthroughs live in Tutorials — this page is the quick tool reference.
| Export / Import | Bake to PHP | |
|---|---|---|
| Where | Pure Fields → Export / Import | Toolbar of the Option Builder (per panel) |
| Moves | A live configuration, including saved values | Just the field structure, as PHP |
| Format | JSON file | Committable .php file |
| Use it for | Cloning a setup across running sites | Shipping a panel in a theme/plugin release |
| Full guide | Move Data Between Sites | Ship a Panel as Code |
Export/Import covers four data types — metafields, post types, taxonomies, and options (with saved theme_mod values) — and can move all of them or any combination, up to 500 items per type per run. Bake to PHP works on one option panel at a time and produces a file that calls TPMeta_Options::set_args() / set_section() directly, with no dependency on the builder at runtime.