feat: Divi adapters for roles and library with a live compatibility check

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-27 00:51:09 +02:00
co-authored by Claude Opus 5.5
parent b389f983de
commit ce1ad7c6c3
10 changed files with 491 additions and 5 deletions
@@ -31,7 +31,8 @@ defined('ABSPATH') || exit;
*/
class DynamicContentMap
{
private const REGISTRY = 'ET\Builder\Packages\Module\Layout\Components\DynamicContent\DynamicContentOptions';
/** Divi's dynamic-content registry class; also checked by DiviCompatibility. */
public const REGISTRY = 'ET\Builder\Packages\Module\Layout\Components\DynamicContent\DynamicContentOptions';
/**
* @param (Closure(int): mixed)|null $registry Registry lookup by post ID (tests); null = Divi's.