Skip to content

Divi Developer DocsHooks, modules & the JavaScript API

A consolidated, searchable reference for Divi extension developers. Includes RAG-powered chat over the full corpus.

About this site

This site is a reference compilation of publicly published Divi developer documentation. It covers four major areas:

AreaWhat's covered
ExtensionsSetting up a Divi development environment with Docker, scaffolding a Divi Extension, and the file/folder conventions every extension follows.
Custom modulesDefining module settings, advanced field types, settings groups, conditional visibility, custom CSS fields, and compatibility levels.
HooksPHP hooks for the Divi Builder, JavaScript hooks via wp.hooks, Divi Template hooks for theme integration, and Divi Module hooks.
JavaScript APIThe runtime API object exposed via et_builder_api_ready, including API.Modules.register() and API.Utils.

Every page also tags its last-updated date and shows a freshness badge so you can tell at a glance whether a procedure still reflects the current Divi Builder.

Ask the chat

The chat widget in the bottom-right corner is grounded on every markdown page in this site via OpenAI's File Search (real retrieval, not context-stuffing). Ask things like:

  • "How do I register a custom module via the JavaScript API?"
  • "Which PHP filter controls Divi Builder module CSS classes?"
  • "What field types support show_if for conditional visibility?"
  • "What's the difference between defining-module-settings and module-settings-groups?"

The chat returns a written answer plus the filenames it pulled from, so you can jump straight to the source page.

Reference compiled from publicly available Divi developer documentation.