BLACK FRIDAY SALE ⭐ 40% OFF EVERYTHING ⭐ USE PROMO CODE BLACK AT CHECKOUTBLACK FRIDAY SALE ⭐ 40% OFF EVERYTHING ⭐ USE PROMO CODE BLACK AT CHECKOUT
WordPress plugin ·

Divi PHP Code Module

Runs PHP code inside a Divi module, with preview, debugging and Divi styling for the output.

Version

2.0.2

Last updated

Nov 22, 2026

Developer

Divi Booster

GPL · Official site →

Auto updates Unlimited sites Unlimited downloads No daily limits

About This Plugin

Divi PHP Code Module adds a PHP Code module to the Divi Builder that runs PHP anywhere in your pages and posts and shows the output where the module sits. Divi's built-in Code module handles HTML, CSS and JavaScript but does not run PHP.

Press the Play button in the Visual Builder to run and preview the code, and turn error display on or off with the Debug option. Style the output with Divi's design settings. No child theme or shortcode workaround needed.

Use it to show data from WordPress, your database, custom fields or APIs, output styled tables, or add custom forms. Divi Role Editor integration and cryptographic integrity checking control who can run code on your site.

Try it freefor 30 days

Start with the free trial. Decide after thirty days.