Changeset 51322 for trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php
- Timestamp:
- 07/03/2021 09:13:48 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php
r48181 r51322 12 12 * SVG ICONS CLASS 13 13 * Retrieve the SVG code for the specified icon. Based on a solution in Twenty Nineteen. 14 * 15 * @since Twenty Twenty 1.0 14 16 */ 15 17 class TwentyTwenty_SVG_Icons { … … 17 19 * GET SVG CODE 18 20 * Get the SVG code for the specified icon 21 * 22 * @since Twenty Twenty 1.0 19 23 * 20 24 * @param string $icon Icon name. … … 69 73 * GET SOCIAL LINK SVG 70 74 * Detects the social network from a URL and returns the SVG code for its icon. 75 * 76 * @since Twenty Twenty 1.0 71 77 * 72 78 * @param string $uri The URL to retrieve SVG for. … … 117 123 * Store the code for all SVGs in an array. 118 124 * 125 * @since Twenty Twenty 1.0 119 126 * @var array 120 127 */ … … 170 177 * specify all the domains it covers (including the .com TLD too, if applicable). 171 178 * 179 * @since Twenty Twenty 1.0 172 180 * @var array 173 181 */ … … 225 233 * Social Icons – svg sources. 226 234 * 235 * @since Twenty Twenty 1.0 227 236 * @var array 228 237 */
Note: See TracChangeset
for help on using the changeset viewer.