method_str_replace_assoc()
method_str_replace_assoc( array $replace, $subject )
Performs associative string replacement.
Description
Convenience wrapper around str_replace() that accepts an associative array where keys are search strings and values are replacements.
Parameters
$replace (array) :
Associative array of search => replace pairs.
$subject (string) :
The string to perform replacements on.
Return
(string) The string with replacements applied.
Source
File: lib/helper-functions.php