Skip to content

validateWordPressExtractionAttribute

validateWordPressExtractionAttribute(node, isTopLevel?): void

Defined in: metadata-projection.ts:165

Validate one attribute node for WordPress extraction compatibility.

AttributeNode

Parsed attribute node to inspect.

boolean = false

Whether the current node is a top-level block attribute.

void

Nothing. Throws when the attribute uses unsupported extraction metadata.