Skip to content

Kirby 3.6.6

Str::replaceReplacements()

Takes a replacement array and processes the replacements Used for Str::replace()

Str::replaceReplacements(string $string, array $replacements): string

Parameters

Name Type Default Description
$string * string String being replaced on (haystack)
$replacements * array Replacement array from Str::replacements()

Return type

string

Parent class

Kirby\Toolkit\Str