[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/navigation-link/shared/ -> render-submenu-icon.php (source)

   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 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  }


Generated : Mon Jun 15 08:20:09 2026 Cross-referenced by PHPXref