apply_filters( 'jsps_core_svg_icon', $svg, $slug ) → {string}
The SVG markup of a core network icon. Use it to replace an icon by your own:
a
<svg> element with a viewBox, using fill="currentColor" to get the button color.
Parameters:
| Name | Type | Description |
|---|---|---|
$svg |
string |
The <svg> markup ('' if the network has no core icon).
|
$slug |
string | The network slug. |
Returns:
The
<svg> markup.
- Type
- string