Skip to content

Commit 5694814

Browse files
JarrydLongclaude
andcommitted
Add Divi 5 compatibility for PMPro module-level restrictions
- Detects Divi 5 via et_builder_d5_enabled() and registers D5-specific hooks - Server-side condition evaluation via divi_module_options_conditions_is_custom_condition_true - No-access message injection via divi_module_wrapper_render - REST endpoint GET /divi/v1/pmpro/membership-levels for the VB level selector - pmpro-divi-5.js registers the pmproMembershipLevel condition type in the D5 VB conditions panel - D4 to D5 migration converts legacy PMPro attrs to native D5 conditions on upgrade - D4 hooks remain active in both modes to support shortcode-module fallback content Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2abcab9 commit 5694814

2 files changed

Lines changed: 699 additions & 45 deletions

File tree

0 commit comments

Comments
 (0)