WireMarkupRegions::removeRegionTags()
Remove any <region> or <pw-region> tags present in the markup, leaving their innerHTML contents
Also removes data-pw-id and pw-id attributes
Usage
$bool = $wireMarkupRegions->removeRegionTags(string $html);Arguments
| Name | Type(s) | Description |
|---|---|---|
$html | string |
Return value
boolTrue if tags or attributes were removed, false if not
WireMarkupRegions methods and properties
API reference based on ProcessWire core version 3.0.268