wp-content/themes/twentytwentyone/inc/menu-functions.php:53Detects the social network from a URL and returns the SVG code for its icon.
$uristring$sizeintoptional24stringfunction twenty_twenty_one_get_social_link_svg( $uri, $size = 24 ) { return Twenty_Twenty_One_SVG_Icons::get_social_link_svg( $uri, $size );}Introduced in Twenty Twenty-One 1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentytwentyone/inc/menu-functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.