[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

Twenty Twenty SVG Icon helper functions

File Size: 74 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.
since: Twenty Twenty 1.0

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.
since: Twenty Twenty 1.0



Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1