Changeset 59102
- Timestamp:
- 09/27/2024 04:11:02 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentynineteen/inc/icon-functions.php
r56447 r59102 10 10 /** 11 11 * Gets the SVG code for a given icon. 12 * 13 * @param string $icon The specific icon to retrieve. 14 * @param int $size The desired width and height for the SVG icon. 12 15 */ 13 16 function twentynineteen_get_icon_svg( $icon, $size = 24 ) { … … 17 20 /** 18 21 * Gets the SVG code for a given social icon. 22 * 23 * @param string $icon The specific icon to retrieve. 24 * @param int $size The desired width and height for the SVG icon. 19 25 */ 20 26 function twentynineteen_get_social_icon_svg( $icon, $size = 24 ) { … … 24 30 /** 25 31 * Detects the social network from a URL and returns the SVG code for its icon. 32 * 33 * @param string $uri The URL of the social network link. 34 * @param int $size The desired width and height for the SVG icon. 26 35 */ 27 36 function twentynineteen_get_social_link_svg( $uri, $size = 24 ) {
Note: See TracChangeset
for help on using the changeset viewer.