wp-content/themes/twentyseventeen/inc/icon-functions.php:152Adds dropdown icon if menu item has children.
$titlestring$itemWP_Post$argsstdClass$depthintstringfunction twentyseventeen_dropdown_icon_to_menu_link( $title, $item, $args, $depth ) { if ( 'top' === $args->theme_location ) { foreach ( $item->classes as $value ) { if ( 'menu-item-has-children' === $value || 'page_item_has_children' === $value ) { $title = $title . twentyseventeen_get_svg( array( 'icon' => 'angle-down' ) ); } } } return $title;}Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentyseventeen/inc/icon-functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.