WireMarkupRegions::remove()

Remove the region(s) that match the given $selector

Usage

// basic usage
$string = $wireMarkupRegions->remove(string $selector, string $markup);

// usage with all arguments
$string = $wireMarkupRegions->remove(string $selector, string $markup, array $options = []);

Arguments

NameType(s)Description
$selectorstring

See the update() method for details

$markupstring

Document markup where region(s) exist

$options (optional)array

See the update() method for details

Return value

string


WireMarkupRegions methods and properties

API reference based on ProcessWire core version 3.0.268