Skip to main content

Filter: gk/foundation/icon-picker/svg

Filters an icon's SVG each time it draws, such as to change its stroke width. The result is cleaned again; an SVG that does not pass is ignored.

Parameters​

NameTypeDescription
$svgstringThe SVG.
$namestringThe icon name (the current one, for an old name).

Since​

  • 1.40.0

Source​

Defined in Icons/Icons.php at line 247