[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/wp-content/themes/twentytwenty/inc/ -> svg-icons.php (summary)

Twenty Twenty SVG Icon helper functions

File Size: 70 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  twentytwenty_the_theme_svg()
  twentytwenty_get_theme_svg()

Functions
Functions that are not part of a class:

twentytwenty_the_theme_svg( $svg_name, $group = 'ui', $color = '' )   X-Ref
Output and Get Theme SVG.
Output and get the SVG markup for an icon in the TwentyTwenty_SVG_Icons class.

param: string $svg_name The name of the icon.
param: string $group The group the icon belongs to.
param: string $color Color code.

twentytwenty_get_theme_svg( $svg_name, $group = 'ui', $color = '' )   X-Ref
Get information about the SVG icon.

param: string $svg_name The name of the icon.
param: string $group The group the icon belongs to.
param: string $color Color code.



Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1