# gutenberg/trunk/build/scripts/block-library/navigation-link/shared/render-submenu-icon.php

Gutenberg, version trunk. 18 lines.

- Page: https://pluginprobe.com/plugins/gutenberg/trunk/code/build/scripts/block-library/navigation-link/shared/render-submenu-icon.php
- Raw: https://pluginprobe.com/plugins/gutenberg/trunk/raw/build/scripts/block-library/navigation-link/shared/render-submenu-icon.php
- Modified: 2026-02-25T16:51:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/gutenberg/trunk/code/build/scripts/block-library/navigation-link/shared/render-submenu-icon.php#L10-L20`.

```php
<?php
/**
 * Shared helper function for rendering the submenu icon.
 *
 * @package WordPress
 */

/**
 * Returns the submenu SVG chevron icon.
 *
 * @since 5.9.0
 *
 * @return string
 */
function gutenberg_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>';
}

```
