wp-content/themes/twentynineteen/inc/icon-functions.php:49Displays SVG icons in social links menu.
$item_outputstring$itemWP_Post$depthint$argsstdClassstringfunction twentynineteen_nav_menu_social_icons( $item_output, $item, $depth, $args ) { // Change SVG icon inside social links menu if there is supported URL. if ( 'social' === $args->theme_location ) { $svg = twentynineteen_get_social_link_svg( $item->url, 32 ); if ( empty( $svg ) ) { $svg = twentynineteen_get_icon_svg( 'link' ); } $item_output = str_replace( $args->link_after, '</span>' . $svg, $item_output ); } return $item_output;}Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentynineteen/inc/icon-functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.