Extension Integration
Extension Integration
Extension Architecture Overview
Last Updated: March 22, 2026Extension Architecture Overview New in v1.2.0 DMSI DDLS Core provides a stable extension API that allows separate WordPress plugins (extensions) to add new functionality, integrate into the admin shell, and participate in the core order-processing workflow. What Extensions Are An extension is a separate WordPress plugin that depends on DMSI DDLS Core being installed and...
Admin Shell Integration
Last Updated: March 22, 2026Admin Shell Integration New in v1.2.0 Extensions can add new top-level sections to the Admin Shell Column 1 and new views to any section’s Column 2 using two filters provided by Core. Adding a Top-Level Section (Column 1) Use the dmsilm_admin_shell_sections filter to register a new section: add_filter( 'dmsilm_admin_shell_sections', function( $sections ) { $sections[] =...
Settings Tab Integration
Last Updated: March 22, 2026Settings Tab Integration New in v1.2.0 Extensions can add their own tab to the DDLS Settings section using three hooks: one to register the tab, one to render its content, and one to handle saving. Step 1: Register the Tab Use the dmsilm_settings_tabs filter to add your tab to the Settings Column 2 list: add_filter(...
Order Processor Integration
Last Updated: March 22, 2026Order Processor Integration New in v1.2.0 When a WooCommerce order is completed, DDLS Core creates license, subscription, and support contract records automatically. Three filters allow extensions to modify the data for each record type before it is inserted into the database. The Three Filters Filter Fires Before dmsilm_license_data_before_create License record is created dmsilm_subscription_data_before_create Subscription record...
License Type Hooks
Last Updated: March 22, 2026License Type Hooks New in v1.2.0 DDLS Core fires action hooks whenever a license type is created, updated, or deleted. Extensions can use these hooks to keep external systems in sync or to trigger other workflows. Available Hooks Hook Fires When dmsilm_license_type_created A new license type is saved for the first time dmsilm_license_type_updated An existing...
Shared Assets
Last Updated: March 22, 2026Shared Assets New in v1.2.0 DDLS Core registers several JavaScript and CSS assets that extensions can use without bundling their own copies. Using shared assets reduces page weight and ensures visual consistency between Core and extension UI. Chart.js Core bundles Chart.js and registers it under the handle dmsilm-chartjs. To use Chart.js in your extension, declare...
Extension License Management
Last Updated: March 22, 2026Extension License Management New in v1.2.0 DDLS Core provides a unified system for managing license keys for installed DDLS extensions. This replaces the previous pattern where each extension displayed its own admin notice. Core Licenses Section The Core Licenses section in the Admin Shell is a dedicated screen for entering and viewing the license key...
EULA Lifecycle Actions
Last Updated: March 31, 2026EULA Lifecycle Actions Version note: EULA lifecycle action hooks were introduced in v2.0.0 as part of the EULA and Terms system. These WordPress action hooks fire when EULA documents are created, updated, or deleted. Use them to integrate your extensions with the EULA system. dmsilm_eula_created Fires after a new EULA document is created and saved....
