[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

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.

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 : Fri Nov 15 08:20:01 2024 Cross-referenced by PHPXref