wp-includes/blocks/navigation-link/shared/render-submenu-icon.php:15Returns the submenu SVG chevron icon.
stringfunction block_core_shared_navigation_render_submenu_icon() { return '<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none" aria-hidden="true" focusable="false"><path d="M1.50002 4L6.00002 8L10.5 4" stroke-width="1.5"></path></svg>';}Introduced in 5.9.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/blocks/navigation-link/shared/render-submenu-icon.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.