Validate Divi Layout


Checks that a post's current Divi shortcode markup has balanced and correctly-nested etpb* tags. Every write in this pack already refuses to save markup that would fail this check; call it directly to check a page that was edited some other way.

Property Value
Ability slug mosmcp/divi-validate-layout
Wire tool name mosmcp__divi-validate-layout
Category Divi (mosmcp-divi)
Plan Pro

 

Required access

Requirement Value
Capability edit_post (checked against the specific post)
Minimum default role Contributor
Annotations readOnly: true · destructive: false · idempotent: true · openWorld: false

 

Input schema

Field Type Required Default Description
post_id integer (min 1) Yes — The ID of the post or page to validate.

 

Output schema

Field Type Required
post_id integer Yes
valid boolean Yes
error string

 


<< Previous Next >>
Read Divi Page

For more information about the Secure MCP Server for WordPress plugin, explore the following resources:

Product Overview | Pricing | Try for Free | Documentation

If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.