WPCodeBox
WPCodeBox is a paid snippet manager for WordPress. Oxygen has
built-in support for it: any PHP editor in the builder gets a Send To CodeBox button that
moves the code you've written into a WPCodeBox snippet and leaves a one-line call behind.
That's useful when a bit of PHP outgrows the page it started on — you want to call it from
several templates, keep it under version control in WPCodeBox, or edit it with WPCodeBox's
editor instead of a panel field.
Send code to WPCodeBox
- Write your PHP in any PHP field in the builder — the PHP Code element, a loop
element's PHP query, or a Custom PHP condition. - Click Send To CodeBox in the bottom-right corner of the code editor.
- Oxygen saves the code as a new WPCodeBox snippet and replaces the contents of the field
with a call to it:

OxygenWPCodeBoxrunSnippet(3);
Keep that line as it is, or replace it with a direct call to whatever function the snippet
defines. Either way the page now runs the code from WPCodeBox, and you edit it there.
The button appears on PHP editors only — CSS, HTML and JavaScript fields don't have it.
Turning the button off
The Send To CodeBox button is part of a group of builder integrations you can switch off
entirely. Go to Oxygen → Settings → Privacy, and under Builder Integration tick
Hide integrations in the builder. That hides the CodeBox button and the AI Writing
Assistant for everyone on the site — useful if you hand builder access to clients.

Troubleshooting
Clicking the button opens a dialog about WPCodeBox
WPCodeBox isn't installed on the site. Oxygen shows the dialog instead of failing silently.
Install and activate WPCodeBox, then try again.
The button isn't there
Either the field isn't a PHP field, or builder integrations are switched off in Settings →
Privacy (see above).