You appear to be a bot. Output may be restricted
Description
Output and Get Theme SVG.
Output and get the SVG markup for an icon in the TwentyTwenty_SVG_Icons class.
Usage
twentytwenty_the_theme_svg( $svg_name, $group, $color );
Parameters
- $svg_name
- ( string ) required – The name of the icon.
- $group
- ( string ) optional default: ui – The group the icon belongs to.
- $color
- ( string ) optional – Color code.
Returns
void
Source
File name: twentytwenty/inc/svg-icons.php
Lines:
1 to 3 of 3
function twentytwenty_the_theme_svg( $svg_name, $group = 'ui', $color = '' ) { echo twentytwenty_get_theme_svg( $svg_name, $group, $color ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped in twentytwenty_get_theme_svg(). }