In fact, SVG dropdown icons exist as before, in all navigation places.
I used this to force removing:
add_action( 'after_setup_theme', 'tu_remove_svg_dropdown_icons' );
function tu_remove_svg_dropdown_icons() {
remove_filter( 'nav_menu_item_title', 'generate_dropdown_icon_to_menu_link', 10, 4 );
}
The deal is not to remove whole SPAN.dropdown-menu-toggle
, which is useful, but SVG node only.
So, can we override generate_get_svg_icon
function or $icon
* variable as empty only at this point?
*\wp-content\themes\generatepress\inc\structure\navigation.php:419
(v. 3.0.3)