Browse
For agents
About
Gutenberg
/
23.2.2
Gutenberg
v23.2.2
Switch version
23.9.1
23.9.0
23.8.0
23.7.2
23.7.1
23.7.0
23.6.1
23.6.2
23.6.0
23.5.3
23.5.2
23.5.1
23.5.0
23.4.0
23.3.2
23.3.1
23.3.0
23.2.0
23.2.1
23.2.2
23.1.1
23.1.0
23.0.1
12.6.0
7.4.0
All 402 releases
Overview
Code
gutenberg
/
build
/
scripts
/
block-library
/
navigation-link
/
shared
/
render-submenu-icon.php
render-submenu-icon.php
in Gutenberg 23.2.2, at build/scripts/block-library/navigation-link/shared/render-submenu-icon.php
18 lines
475 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
/**
3
* Shared helper function for rendering the submenu icon.
4
*
5
*
@package
WordPress
6
*/
7
8
/**
9
* Returns the submenu SVG chevron icon.
10
*
11
*
@since
5.9.0
12
*
13
*
@return
string
14
*/
15
function
gutenberg_block_core_shared_navigation_render_submenu_icon
(
)
{
16
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>
'
;
17
}
18