Solar_Filter_SanitizeStrReplace::sanitizeStrReplace()
public
string
Solar_Filter_SanitizeStrReplace::sanitizeStrReplace
( mixed $value
, string|array $search
, string|array $replace
)
Applies » str_replace() to the value.
Parameters
(mixed)
$value
: The value to be sanitized.(string|array)
$search
: Find this string.(string|array)
$replace
: Replace with this string.
Returns
(string) The sanitized value.
Description
Applies » str_replace() to the value.