Oxygen 6 beta 1 now available.

Read announcement

WPCodeBox

Oxygen has built-in support for WPCodeBox, the most powerful Code Snippets plugin for WordPress. Oxygen’s integration allows you to send existing code from Oxygen to WPCodeBox.

Before beginning with this integration, please ensure you have WPCodeBox v1.1.1+ installed on your site. If you don’t own WPCodeBox yet, you may find a discount code available on the Partner Discounts page.

Sending Custom Code to CodeBox

When working in Code areas in Oxygen, you’ll now be able to send the code to WPCodeBox. This option will be available for the following areas:

  • PHP Code Element
  • Loop Elements: Array Queries
  • Conditions: Custom PHP Condition

Sending code to WPCodeBox is beneficial when you’re using a function and would like to call that function on other pages or templates on the site, or you’re using Oxygen to build PHP and see the changes live. After you’ve sent the code to WPCodeBox, you’ll see a new line of PHP that will look similar to OxygenWPCodeBoxrunSnippet(3);. You may leave this code as-is or replace it to call the function you just moved.

Updated on: January 10, 2025