WireMarkupRegions::update()
Update the region(s) that match the given $selector with the given $content (markup/text)
Usage
// basic usage
$string = $wireMarkupRegions->update(string $selector, string $content, string $markup);
// usage with all arguments
$string = $wireMarkupRegions->update(string $selector, string $content, string $markup, array $options = []);Arguments
| Name | Type(s) | Description |
|---|---|---|
$selector | string | Specify one of the following:
|
$content | string | Markup/text to update with |
$markup | string | Document markup where region(s) exist |
$options (optional) | array | Specify any of the following:
|
Return value
string
WireMarkupRegions methods and properties
API reference based on ProcessWire core version 3.0.268