WireMarkupRegions::append()

Append the region(s) that match the given $selector with the given $content markup

Usage

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

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

Arguments

NameType(s)Description
$selectorstring

See the update() method $selector argument for details

$contentstring

Markup to append

$markupstring

Document markup where region(s) exist

$options (optional)array

See the update() method $options argument for details

Return value

string


WireMarkupRegions methods and properties

API reference based on ProcessWire core version 3.0.268