$img = '<br />';
// The value is base64-encoded data, so esc_attr() is used here instead of esc_url().
$img_style = ' style="background-image:url(\'' .
esc_attr( $item[6
] ) . '\')"';
$img_class = ' svg';
} elseif ( str_starts_with( $item[6
], 'dashicons-'
) ) { $img = '<br />';
$img_class = ' dashicons-before ' .
sanitize_html_class( $item[6
] );
} } $arrow = '<div class="wp-menu-arrow"><div></div></div>';
$title =
wptexturize( $item[0
] );
// Hide separators from screen readers.
if ( $is_separator ) { $aria_hidden = ' aria-hidden="true"';
} echo "\n\t<li
$class$id$aria_hidden>";
if ( $is_separator ) { echo '<div class="separator"></div>';
} elseif ( $submenu_as_parent && !
empty( $submenu_items ) ) {